Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 98f2b9b

Browse files
committed
transition move technically correct to obviously so
1 parent 2c69e3d commit 98f2b9b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2706,7 +2706,7 @@ The Null Object
27062706

27072707
This object is returned by functions that don't explicitly return a value. It
27082708
supports no special operations. There is exactly one null object, named
2709-
``None`` (a built-in name). Calling ``type(None)`` produces the same singleton.
2709+
``None`` (a built-in name). ``type(None)()`` produces the same singleton.
27102710

27112711
It is written as ``None``.
27122712

@@ -2718,7 +2718,7 @@ The Ellipsis Object
27182718

27192719
This object is commonly used by slicing (see :ref:`slicings`). It supports no
27202720
special operations. There is exactly one ellipsis object, named
2721-
:const:`Ellipsis` (a built-in name). Calling ``type(Ellipsis)`` produces the
2721+
:const:`Ellipsis` (a built-in name). ``type(Ellipsis)()`` produces the
27222722
:const:`Ellipsis` singleton.
27232723

27242724
It is written as ``Ellipsis`` or ``...``.
@@ -2729,8 +2729,8 @@ The NotImplemented Object
27292729

27302730
This object is returned from comparisons and binary operations when they are
27312731
asked to operate on types they don't support. See :ref:`comparisons` for more
2732-
information. There is exactly one ``NotImplemented`` object. Calling
2733-
``type(NotImplemented)`` produces the singleton instance.
2732+
information. There is exactly one ``NotImplemented`` object.
2733+
``type(NotImplemented)()`` produces the singleton instance.
27342734

27352735
It is written as ``NotImplemented``.
27362736

0 commit comments

Comments
 (0)