[issue44651] An unclear definition in Doc/glossary.rst

Mark Dickinson report at bugs.python.org
Fri Jul 16 14:32:11 EDT 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

Searching further, none of the uses of "coerce" or "coercion" in the docs seem to be a good match for the definition in this glossary entry. For example, from ipaddress.rst:

> By default, attempting to create a network object with host bits set will
result in :exc:`ValueError` being raised. To request that the
additional bits instead be coerced to zero, the flag ``strict=False`` can
be passed to the constructor

and from configparser.rst:

> A convenience method which coerces the *option* in the specified *section* to an integer.

etc. I think we should just get rid of the glossary entry.

----------

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


More information about the Python-bugs-list mailing list