aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc/tutorials/portingguide/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/doc/tutorials/portingguide/index.rst')
-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: