[New-bugs-announce] [issue38738] Fix formatting of True and False

Serhiy Storchaka report at bugs.python.org
Thu Nov 7 14:42:20 EST 2019


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

The proposed PR fixes some issues with True and False in the documentation:

* "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool.

* Fixed formatting of some True and False literals (now in monospace).

* Replaced "True/False" with "true/false" if it can be not only bool.

* Replaced some 1/0 with True/False if it corresponds the code.

----------
assignee: docs at python
components: Documentation
messages: 356210
nosy: docs at python, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Fix formatting of True and False
type: enhancement
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38738>
_______________________________________


More information about the New-bugs-announce mailing list