Skip to content

Commit 24f2598

Browse files
committed
Documentation tweaks.
1 parent a3acb59 commit 24f2598

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,6 @@
248248

249249

250250
# Example configuration for intersphinx: refer to the Python standard library.
251-
intersphinx_mapping = {'http://docs.python.org/': None}
251+
intersphinx_mapping = {
252+
'py': ('http://docs.python.org/3', None)
253+
}

webencodings/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ def ascii_lower(string):
4141
This is used for `ASCII case-insensitive
4242
<http://encoding.spec.whatwg.org/#ascii-case-insensitive>`_
4343
matching of encoding labels.
44-
The same matching is also used, among others,
44+
The same matching is also used, among other things,
4545
for `CSS keywords <http://dev.w3.org/csswg/css-values/#keywords>`_.
4646
47-
This is different from just using :meth:`unicode.lower`
48-
which will also affect non-ASCII characters,
47+
This is different from the :meth:`~py:str.lower` method of Unicode strings
48+
which also affect non-ASCII characters,
4949
sometimes mapping them into the ASCII range:
5050
5151
>>> keyword = u'Bac\N{KELVIN SIGN}ground'

0 commit comments

Comments
 (0)