diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-06-29 15:43:44 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-06-29 18:30:43 +0200 |
commit | 47044bdd9da774b69cec36e007066f44ca7b3797 (patch) | |
tree | bad375b8a90ee4efce12d54ac77e4f3f1b01ce37 /sources | |
parent | afcb29bab25c2a7dd7fe6222e94879d418bf4074 (diff) |
doc: Fix line numbers in the porting tutorial
Fix warning:
sources/pyside6/doc/tutorials/portingguide/chapter1/chapter1.rst.rst:51: WARNING: line number spec is out of range(1-113): '44-122'
Amends 99d76b5e4e2397fcb4ddf45de91748ab1861f755.
Change-Id: Ic2d30b4b6431bef7406763a27f124fccf30b6f7e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/pyside6/doc/tutorials/portingguide/chapter1/chapter1.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/doc/tutorials/portingguide/chapter1/chapter1.rst b/sources/pyside6/doc/tutorials/portingguide/chapter1/chapter1.rst index 97fcd2200..2a3bd7079 100644 --- a/sources/pyside6/doc/tutorials/portingguide/chapter1/chapter1.rst +++ b/sources/pyside6/doc/tutorials/portingguide/chapter1/chapter1.rst @@ -17,7 +17,7 @@ the beginning of ``createdb.py``: .. literalinclude:: createdb.py :language: python :linenos: - :lines: 3-7 + :lines: 3-5 The ``initDb`` function does most of the work needed to set up the database, but it depends on the ``addAuthor``, @@ -31,7 +31,7 @@ C++ version .. literalinclude:: initdb.h :language: c++ :linenos: - :lines: 18-44 + :lines: 9-33 Python version --------------- @@ -51,7 +51,7 @@ C++ version .. literalinclude:: initdb.h :language: c++ :linenos: - :lines: 44-122 + :lines: 35-112 Python version --------------- |