aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc/tutorials
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2020-10-27 20:41:12 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-10-28 13:56:33 +0000
commit1bc8c8ce262d80bbea0141f48055342adca9e3f9 (patch)
tree9c2e9e07a8f4b7c0280e2bbe29a50588be0e41f1 /sources/pyside2/doc/tutorials
parent8d2aa4264ce2eef7b465c1917ca027eea294747e (diff)
pyside/doc: remove python 2 references
Change-Id: Ife968831c695f1982f9d0ed1157f9128331a700e Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/doc/tutorials')
-rw-r--r--sources/pyside2/doc/tutorials/portingguide/index.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/sources/pyside2/doc/tutorials/portingguide/index.rst b/sources/pyside2/doc/tutorials/portingguide/index.rst
index aabf4b19f..3f2a36f32 100644
--- a/sources/pyside2/doc/tutorials/portingguide/index.rst
+++ b/sources/pyside2/doc/tutorials/portingguide/index.rst
@@ -144,11 +144,9 @@ Here are a few important ones that you must be aware of:
functions.
* **QByteArray**: A QByteArray is treated as a list of
- bytes without encoding. The equivalent type in Python
- varies; Python 2 uses "str" type, whereas Python 3 uses
- "bytes". To avoid confusion, a QString is represented as
- an encoded human readable string, which means it is
- a "unicode" object in Python 2, and a "str" in Python 3.
+ bytes without encoding. Python 3 uses
+ "bytes". QString is represented as an encoded human readable string,
+ which means it is a "str".
Here is the improved version of the Hello World example,
demonstrating some of these differences: