cpython: b6ee02acaae9 (original) (raw)

Mercurial > cpython

changeset 93615:b6ee02acaae9

Issue22780: reword NotImplemented docs to emphasise should

Ethan Furman ethan@stoneleaf.us
date Wed, 26 Nov 2014 21:17:53 -0800
parents d502b5d60e00(current diff)ebb8865dcf54(diff)
children 1c97f373fe49
files Doc/library/constants.rst Doc/reference/datamodel.rst
diffstat 3 files changed, 25 insertions(+), 4 deletions(-)[+] [-] Doc/library/constants.rst 20 Doc/library/numbers.rst 2 Doc/reference/datamodel.rst 7

line wrap: on

line diff

--- a/Doc/library/constants.rst +++ b/Doc/library/constants.rst @@ -26,9 +26,23 @@ A small number of constants live in the .. data:: NotImplemented

+.. note:: +

.. data:: Ellipsis

--- a/Doc/library/numbers.rst +++ b/Doc/library/numbers.rst @@ -110,6 +110,8 @@ those. You can add MyFoo between :cl MyFoo.register(Real) +.. _implementing-the-arithmetic-operations: + Implementing the arithmetic operations

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -154,11 +154,16 @@ NotImplemented This type has a single value. There is a single object with this value. This object is accessed through the built-in name NotImplemented. Numeric methods

+ Ellipsis .. index:: object: Ellipsis