From b58ef52a3a0da7dbaf38c366a4b350907ad1e16b Mon Sep 17 00:00:00 2001 From: Mahmoud Hashemi Date: Thu, 13 Apr 2017 23:24:48 -0700 Subject: [PATCH] userinfo in the url structure docstring --- boltons/urlutils.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/boltons/urlutils.py b/boltons/urlutils.py index ed32134..c96ec08 100644 --- a/boltons/urlutils.py +++ b/boltons/urlutils.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- -""":mod:`urlutils` is a module dedicated to one of our most versatile, -well-aged, and beloved data structures: the URL, also known as the -`Uniform Resource Locator`_. +""":mod:`urlutils` is a module dedicated to one of software's most +versatile, well-aged, and beloved data structures: the URL, also known +as the `Uniform Resource Locator`_. Among other things, this module is a full reimplementation of URLs, without any reliance on the :mod:`urlparse` or :mod:`urllib` standard @@ -413,10 +413,10 @@ class URL(object): Each is exposed as an attribute on the URL object. RFC 3986 offers this brief structural summary of the main URL components:: - foo://example.com:8042/over/there?name=ferret#nose - \_/ \_________/ \__/\_________/ \_________/ \__/ - | | | | | | - scheme host port path query fragment + foo://user:pass@example.com:8042/over/there?name=ferret#nose + \_/ \_______/ \_________/ \__/\_________/ \_________/ \__/ + | | | | | | | + scheme userinfo host port path query fragment And here's how that example can be manipulated with the URL type: