cpython: 91992ea3c6b1 (original) (raw)

Mercurial > cpython

changeset 104558:91992ea3c6b1 3.6

Issue #19795: Mark up True and False as literal text instead of bold. [#19795]

Serhiy Storchaka storchaka@gmail.com
date Wed, 19 Oct 2016 16:44:47 +0300
parents 2e97ed8e7e3c(current diff)477a82ec81fc(diff)
children 8cc9ad294ea9 6c8a26e60728
files Doc/library/subprocess.rst Doc/library/urllib.parse.rst Doc/whatsnew/3.2.rst
diffstat 9 files changed, 16 insertions(+), 16 deletions(-)[+] [-] Doc/howto/logging.rst 6 Doc/library/logging.rst 2 Doc/library/shelve.rst 2 Doc/library/subprocess.rst 4 Doc/library/urllib.parse.rst 2 Doc/library/xml.etree.elementtree.rst 2 Doc/library/xml.sax.utils.rst 4 Doc/whatsnew/3.1.rst 2 Doc/whatsnew/3.2.rst 8

line wrap: on

line diff

--- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -464,7 +464,7 @@ ancestor loggers. Because of this, it is handlers for all the loggers an application uses. It is sufficient to configure handlers for a top-level logger and create child loggers as needed. (You can, however, turn off propagation by setting the propagate -attribute of a logger to False.) +attribute of a logger to False.) .. _handler-basic: @@ -747,10 +747,10 @@ circumstances is dependent on the Python For versions of Python prior to 3.2, the behaviour is as follows: -* If logging.raiseExceptions is False (production mode), the event is +* If logging.raiseExceptions is False (production mode), the event is silently dropped. -* If logging.raiseExceptions is True (development mode), a message +* If logging.raiseExceptions is True (development mode), a message 'No handlers could be found for logger X.Y.Z' is printed once. In Python 3.2 and later, the behaviour is as follows:

--- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -296,7 +296,7 @@ is the module's name in the Python packa Finds the caller's source filename and line number. Returns the filename, line number, function name and stack information as a 4-element tuple. The stack

.. method:: Logger.handle(record)

--- a/Doc/library/shelve.rst +++ b/Doc/library/shelve.rst @@ -31,7 +31,7 @@ lots of shared sub-objects. The keys a Because of Python semantics, a shelf cannot know when a mutable persistent-dictionary entry is modified. By default modified objects are written only when assigned to the shelf (see :ref:shelve-example). If the

--- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -361,8 +361,8 @@ functions. manner described in :ref:converting-argument-sequence. This is because the underlying CreateProcess() operates on strings.

--- a/Doc/library/urllib.parse.rst +++ b/Doc/library/urllib.parse.rst @@ -553,7 +553,7 @@ task isn't already covered by the URL pa When a sequence of two-element tuples is used as the query argument, the first element of each tuple is a key and the second is a value. The value element in itself can be a sequence and in that case, if

--- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -928,7 +928,7 @@ ElementTree Objects method is either "xml", "html" or "text" (default is "xml"). The keyword-only short_empty_elements parameter controls the formatting

--- a/Doc/library/xml.sax.utils.rst +++ b/Doc/library/xml.sax.utils.rst @@ -63,8 +63,8 @@ or as base classes. should be a file-like object which will default to sys.stdout. encoding is the encoding of the output stream which defaults to 'iso-8859-1'. short_empty_elements controls the formatting of elements that contain no

--- a/Doc/whatsnew/3.1.rst +++ b/Doc/whatsnew/3.1.rst @@ -548,5 +548,5 @@ that may require changes to your code:

--- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1001,13 +1001,13 @@ datetime and time after 1900. The new supported year range is from 1000 to 9999 inclusive.