diff options
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/pyporting.rst | 2 | ||||
-rw-r--r-- | Doc/howto/urllib2.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst index 9015372..92207e2 100644 --- a/Doc/howto/pyporting.rst +++ b/Doc/howto/pyporting.rst @@ -640,7 +640,7 @@ developing under Python 2 or Python 3. Whether this approach or using To get a complete idea of what issues you will need to deal with, see the `What's New in Python 3.0`_. Others have reorganized the data in other formats -such as http://docs.pythonsprints.com/python3_porting/py-porting.html . +such as http://docs.pythonsprints.com/python3_porting/py-porting.html\ . The following are some steps to take to try to support both Python 2 & 3 from the same source code. diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst index 74eeee0..78365c9 100644 --- a/Doc/howto/urllib2.rst +++ b/Doc/howto/urllib2.rst @@ -160,7 +160,7 @@ We'll discuss here one particular HTTP header, to illustrate how to add headers to your HTTP request. Some websites [#]_ dislike being browsed by programs, or send different versions -to different browsers [#]_ . By default urllib identifies itself as +to different browsers [#]_. By default urllib identifies itself as ``Python-urllib/x.y`` (where ``x`` and ``y`` are the major and minor version numbers of the Python release, e.g. ``Python-urllib/2.5``), which may confuse the site, or just plain |