Merge pull request #4676 from jdufresne/doc-py3

Update Python 2 doc links to Python 3
This commit is contained in:
Nate Prewitt
2018-06-10 08:37:08 -07:00
committed by GitHub
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