Update Python 2 doc links to Python 3

The Python 3 docs are better maintained and are the future of Python
development.
This commit is contained in:
Jon Dufresne
2018-06-09 20:29:41 -07:00
parent d98f881118
commit 35a1874912
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -357,7 +357,7 @@ file-like object for your body::
be set to the number of *bytes* in the file. Errors may occur if
you open the file in *text mode*.
.. _binary mode: https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files
.. _binary mode: https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files
.. _chunk-encoding:
@@ -414,7 +414,7 @@ To do that, just set files to a list of tuples of ``(form_field_name, file_info)
be set to the number of *bytes* in the file. Errors may occur if
you open the file in *text mode*.
.. _binary mode: https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files
.. _binary mode: https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files
.. _event-hooks:
+1 -1
View File
@@ -348,7 +348,7 @@ section.
be set to the number of *bytes* in the file. Errors may occur if
you open the file in *text mode*.
.. _binary mode: https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files
.. _binary mode: https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files
Response Status Codes