Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a81b481

Browse files
committed
Fix markup errors and update pydoc topics.
1 parent 80dd1af commit a81b481

4 files changed

Lines changed: 27 additions & 9 deletions

File tree

Doc/reference/import.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Loaders must satisfy the following requirements:
358358
iterable, but may be empty if ``__path__`` has no further significance
359359
to the importer. If ``__path__`` is not empty, it must produce strings
360360
when iterated over. More details on the semantics of ``__path__`` are
361-
given :ref`below <package-path-rules>`.
361+
given :ref:`below <package-path-rules>`.
362362

363363
* The ``__loader__`` attribute must be set to the loader object that loaded
364364
the module. This is mostly for introspection and reloading, but can be

Doc/tools/sphinxext/susp-ignored.csv

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ howto/ipaddress,,:ffff,IPv6Address('::ffff:ffff')
6464
howto/ipaddress,,::,IPv6Address('2001::1')
6565
howto/ipaddress,,::,IPv6Address('2001::ffff:ffff')
6666
howto/ipaddress,,:ffff,IPv6Address('2001::ffff:ffff')
67+
howto/ipaddress,,:db8,'2001:db8::'
68+
howto/ipaddress,,::,'2001:db8::'
69+
howto/ipaddress,,:db8,'2001:db8::/96'
70+
howto/ipaddress,,::,'2001:db8::/96'
6771
howto/logging,,:And,"WARNING:And this, too"
6872
howto/logging,,:And,"WARNING:root:And this, too"
6973
howto/logging,,:Doing,INFO:root:Doing something
@@ -151,6 +155,20 @@ library/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
151155
library/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
152156
library/ipaddress,,:db8,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
153157
library/ipaddress,,::,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
158+
library/ipaddress,,::,"""::abc:7:def"""
159+
library/ipaddress,,:def,"""::abc:7:def"""
160+
library/ipaddress,,::,::FFFF/96
161+
library/ipaddress,,::,2002::/16
162+
library/ipaddress,,::,2001::/32
163+
library/ipaddress,,::,>>> str(ipaddress.IPv6Address('::1'))
164+
library/ipaddress,,::,'::1'
165+
library/ipaddress,,::,>>> int(ipaddress.IPv6Address('::1'))
166+
library/ipaddress,,:ff00,ffff:ff00::
167+
library/ipaddress,,:db00,2001:db00::0/24
168+
library/ipaddress,,::,2001:db00::0/24
169+
library/ipaddress,,:db00,2001:db00::0/ffff:ff00::
170+
library/ipaddress,,::,2001:db00::0/ffff:ff00::
171+
library/ipaddress,,:ff00,2001:db00::0/ffff:ff00::
154172
library/itertools,,:step,elements from seq[start:stop:step]
155173
library/itertools,,:stop,elements from seq[start:stop:step]
156174
library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"

Doc/whatsnew/3.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ gc
11351135
--
11361136

11371137
It is now possible to register callbacks invoked by the garbage collector
1138-
before and after collection using the new :`data:`~gc.callbacks` list.
1138+
before and after collection using the new :data:`~gc.callbacks` list.
11391139

11401140

11411141
hmac

0 commit comments

Comments
 (0)