Kaydet (Commit) a81b481e authored tarafından Georg Brandl's avatar Georg Brandl

Fix markup errors and update pydoc topics.

üst 80dd1af4
...@@ -358,7 +358,7 @@ Loaders must satisfy the following requirements: ...@@ -358,7 +358,7 @@ Loaders must satisfy the following requirements:
iterable, but may be empty if ``__path__`` has no further significance iterable, but may be empty if ``__path__`` has no further significance
to the importer. If ``__path__`` is not empty, it must produce strings to the importer. If ``__path__`` is not empty, it must produce strings
when iterated over. More details on the semantics of ``__path__`` are when iterated over. More details on the semantics of ``__path__`` are
given :ref`below <package-path-rules>`. given :ref:`below <package-path-rules>`.
* The ``__loader__`` attribute must be set to the loader object that loaded * The ``__loader__`` attribute must be set to the loader object that loaded
the module. This is mostly for introspection and reloading, but can be the module. This is mostly for introspection and reloading, but can be
......
...@@ -64,6 +64,10 @@ howto/ipaddress,,:ffff,IPv6Address('::ffff:ffff') ...@@ -64,6 +64,10 @@ howto/ipaddress,,:ffff,IPv6Address('::ffff:ffff')
howto/ipaddress,,::,IPv6Address('2001::1') howto/ipaddress,,::,IPv6Address('2001::1')
howto/ipaddress,,::,IPv6Address('2001::ffff:ffff') howto/ipaddress,,::,IPv6Address('2001::ffff:ffff')
howto/ipaddress,,:ffff,IPv6Address('2001::ffff:ffff') howto/ipaddress,,:ffff,IPv6Address('2001::ffff:ffff')
howto/ipaddress,,:db8,'2001:db8::'
howto/ipaddress,,::,'2001:db8::'
howto/ipaddress,,:db8,'2001:db8::/96'
howto/ipaddress,,::,'2001:db8::/96'
howto/logging,,:And,"WARNING:And this, too" howto/logging,,:And,"WARNING:And this, too"
howto/logging,,:And,"WARNING:root:And this, too" howto/logging,,:And,"WARNING:root:And this, too"
howto/logging,,:Doing,INFO:root:Doing something howto/logging,,:Doing,INFO:root:Doing something
...@@ -151,6 +155,20 @@ library/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') ...@@ -151,6 +155,20 @@ library/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
library/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') library/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
library/ipaddress,,:db8,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)" library/ipaddress,,:db8,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
library/ipaddress,,::,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)" library/ipaddress,,::,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
library/ipaddress,,::,"""::abc:7:def"""
library/ipaddress,,:def,"""::abc:7:def"""
library/ipaddress,,::,::FFFF/96
library/ipaddress,,::,2002::/16
library/ipaddress,,::,2001::/32
library/ipaddress,,::,>>> str(ipaddress.IPv6Address('::1'))
library/ipaddress,,::,'::1'
library/ipaddress,,::,>>> int(ipaddress.IPv6Address('::1'))
library/ipaddress,,:ff00,ffff:ff00::
library/ipaddress,,:db00,2001:db00::0/24
library/ipaddress,,::,2001:db00::0/24
library/ipaddress,,:db00,2001:db00::0/ffff:ff00::
library/ipaddress,,::,2001:db00::0/ffff:ff00::
library/ipaddress,,:ff00,2001:db00::0/ffff:ff00::
library/itertools,,:step,elements from seq[start:stop:step] library/itertools,,:step,elements from seq[start:stop:step]
library/itertools,,:stop,elements from seq[start:stop:step] library/itertools,,:stop,elements from seq[start:stop:step]
library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh" library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
......
...@@ -1135,7 +1135,7 @@ gc ...@@ -1135,7 +1135,7 @@ gc
-- --
It is now possible to register callbacks invoked by the garbage collector It is now possible to register callbacks invoked by the garbage collector
before and after collection using the new :`data:`~gc.callbacks` list. before and after collection using the new :data:`~gc.callbacks` list.
hmac hmac
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment