aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/developer
diff options
context:
space:
mode:
authorFeRD (Frank Dana) <[email protected]>2023-01-03 04:04:38 +0000
committerFeRD (Frank Dana) <[email protected]>2023-02-06 08:16:31 +0000
commit45304e09269fe71d416dba4bf65df2238284c524 (patch)
treea65fdd3b498cc11c932b6e8cc024aaecfa1da44f /sources/pyside6/doc/developer
parentd0540035e8610945017d417f823dbe85a173498a (diff)
Docs: Fix misplaced section in feature-motivation.rst
Commit 9b5fa60d1fed5025e97c393ba1bab80f81ba833a added the section "Using __feature__ with UIC files" to the doc, but mistakenly inserted it between the previous section and the code block which followed it. Change-Id: I56ae37bf3373c110b0f1e4bb342cd6df27b0d68c Reviewed-by: Christian Tismer <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'sources/pyside6/doc/developer')
-rw-r--r--sources/pyside6/doc/developer/feature-motivation.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/sources/pyside6/doc/developer/feature-motivation.rst b/sources/pyside6/doc/developer/feature-motivation.rst
index 33bcf1651..9249e034e 100644
--- a/sources/pyside6/doc/developer/feature-motivation.rst
+++ b/sources/pyside6/doc/developer/feature-motivation.rst
@@ -284,7 +284,11 @@ a ``QtCore.pyi`` file next to ``QtCore.abi3.so`` or ``QtCore.pyd`` on Windows.
When using ``__feature__`` often with common IDEs, you may want to provide
a feature-aware version of ``.pyi`` files to get a correct display. The simplest
-way to change them all in-place is the command
+way to change them all in-place is the command:
+
+.. code-block:: python
+
+ pyside6-genpyi all --feature snake_case true_property
Using __feature__ with UIC files
@@ -295,9 +299,5 @@ are _not_ converted, intentionally. Mixing them with feature selections in other
Python modules should always work, because switching will happen as needed, selected
by the currently active module. (Please report to us if this fails for an example)
-.. code-block:: python
-
- pyside6-genpyi all --feature snake_case true_property
-
.. _`Import-Hooks`: https://docs.python.org/3/reference/import.html#import-hooks