From ba46aa1ffb8f9172e4473bd38e5018c1d1611a78 Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Tue, 28 Jan 2020 11:42:02 +0100 Subject: Fix grammar in considerations.rst Change-Id: I7d840367d9a733d925bbfeb78a0ba0c9c076e6c0 Reviewed-by: Friedemann Kleint --- sources/pyside2/doc/considerations.rst | 4 ++-- 1 file 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. -- cgit v1.2.3