From 35a1874912fff2a1f098d3e5d45984b97968f5fd Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 9 Jun 2018 20:29:41 -0700 Subject: [PATCH] Update Python 2 doc links to Python 3 The Python 3 docs are better maintained and are the future of Python development. --- docs/user/advanced.rst | 4 ++-- docs/user/quickstart.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 15f750d3..857c296b 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -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: diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index 032e70f8..952f447d 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -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