summaryrefslogtreecommitdiff
path: root/docs/narr/webob.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-11-16 05:34:00 -0800
committerSteve Piercy <web@stevepiercy.com>2018-11-16 05:34:00 -0800
commita6d8b494c3de85eceb33ab57a046fb6955f909fc (patch)
tree49bed2e57e0541f119c16889b062b491abb9e7f4 /docs/narr/webob.rst
parentd4ce9d3f915b18425b4ce5224a51a89342270371 (diff)
downloadpyramid-a6d8b494c3de85eceb33ab57a046fb6955f909fc.tar.gz
pyramid-a6d8b494c3de85eceb33ab57a046fb6955f909fc.tar.bz2
pyramid-a6d8b494c3de85eceb33ab57a046fb6955f909fc.zip
Remove most Python 2 mentions from docs. Exclusions:
- `docs/tutorials/wiki/*` was written for Python 2 and supposedly won't run on Python 3. - `docs/api/compat.rst` because it drops some stuff and moves other bits into `pyramid.util` and should be part of another PR. - Ignored a couple of times where `env27` and `Python 2.` appear in command output, but they are inconsequential.
Diffstat (limited to 'docs/narr/webob.rst')
-rw-r--r--docs/narr/webob.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst
index 89dc6e0f1..c9a5a68e1 100644
--- a/docs/narr/webob.rst
+++ b/docs/narr/webob.rst
@@ -188,8 +188,7 @@ of them. Here are a couple that might be useful:
Text (Unicode)
++++++++++++++
-Many of the properties of the request object will be text values (``unicode``
-under Python 2 or ``str`` under Python 3) if the request encoding/charset is
+Many of the properties of the request object will be text values (``str`` type) if the request encoding/charset is
provided. If it is provided, the values in ``req.POST``, ``req.GET``,
``req.params``, and ``req.cookies`` will contain text. The client *can*
indicate the charset with something like ``Content-Type: