Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
98f2b9bf
Commit
98f2b9bf
authored
Jul 30, 2011
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transition move technically correct to obviously so
parent
2c69e3dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+4
-4
No files found.
Doc/library/stdtypes.rst
View file @
98f2b9bf
...
...
@@ -2706,7 +2706,7 @@ The Null Object
This object is returned by functions that don't explicitly return a value. It
supports no special operations. There is exactly one null object, named
``None`` (a built-in name).
Calling ``type(None
)`` produces the same singleton.
``None`` (a built-in name).
``type(None)(
)`` produces the same singleton.
It is written as ``None``.
...
...
@@ -2718,7 +2718,7 @@ The Ellipsis Object
This object is commonly used by slicing (see :ref:`slicings`). It supports no
special operations. There is exactly one ellipsis object, named
:const:`Ellipsis` (a built-in name).
Calling ``type(Ellipsis
)`` produces the
:const:`Ellipsis` (a built-in name).
``type(Ellipsis)(
)`` produces the
:const:`Ellipsis` singleton.
It is written as ``Ellipsis`` or ``...``.
...
...
@@ -2729,8 +2729,8 @@ The NotImplemented Object
This object is returned from comparisons and binary operations when they are
asked to operate on types they don't support. See :ref:`comparisons` for more
information. There is exactly one ``NotImplemented`` object.
Calling
``type(NotImplemented)`` produces the singleton instance.
information. There is exactly one ``NotImplemented`` object.
``type(NotImplemented)
()
`` produces the singleton instance.
It is written as ``NotImplemented``.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment