aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2020-01-28 11:42:02 +0100
committerChristian Tismer <tismer@stackless.com>2020-01-29 07:48:16 +0100
commitba46aa1ffb8f9172e4473bd38e5018c1d1611a78 (patch)
tree122a105f796b0c986877ccc15a1f293ed5feab19
parent8c5b08a74650e5dea7303d6f232c4df0f706cb35 (diff)
Fix grammar in considerations.rst
Change-Id: I7d840367d9a733d925bbfeb78a0ba0c9c076e6c0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--sources/pyside2/doc/considerations.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside2/doc/considerations.rst b/sources/pyside2/doc/considerations.rst
index cf08947af..c8d24d13d 100644
--- a/sources/pyside2/doc/considerations.rst
+++ b/sources/pyside2/doc/considerations.rst
@@ -70,7 +70,7 @@ QTextStream
Inside this class some renames were applied to avoid clashes with native Python functions.
They are: ``bin_()``, ``hex_()`` and ``oct_()``.
-The only modification was the addition of '_' character.
+The only modification was the addition of the '_' character.
QVariant
@@ -79,7 +79,7 @@ QVariant
As ``QVariant`` was removed, any function expecting it can receive any Python object (``None`` is
an invalid ``QVariant``).
The same rule is valid when returning something: the returned ``QVariant`` will be converted to
-the its original Python object type.
+its original Python object type.
When a method expects a ``QVariant::Type`` the programmer can use a string (the type name) or the
type itself.