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
f760610b
Commit
f760610b
authored
Mar 26, 2019
by
Andre Delfino
Committed by
Éric Araujo
Mar 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-33832: Add "magic method" glossary entry (GH-7630)
parent
dfd775a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Doc/glossary.rst
Doc/glossary.rst
+7
-0
Misc/NEWS.d/next/Documentation/2018-06-15-15-57-37.bpo-33832.xBFhKw.rst
...xt/Documentation/2018-06-15-15-57-37.bpo-33832.xBFhKw.rst
+1
-0
No files found.
Doc/glossary.rst
View file @
f760610b
...
...
@@ -663,6 +663,11 @@ Glossary
:
term
:`
finder
`.
See
:
pep
:`
302
`
for
details
and
:
class
:`
importlib
.
abc
.
Loader
`
for
an
:
term
:`
abstract
base
class
`.
magic
method
..
index
::
pair
:
magic
;
method
An
informal
synonym
for
:
term
:`
special
method
`.
mapping
A
container
object
that
supports
arbitrary
key
lookups
and
implements
the
methods
specified
in
the
:
class
:`~
collections
.
abc
.
Mapping
`
or
...
...
@@ -1004,6 +1009,8 @@ Glossary
(subscript) notation uses :class:`slice` objects internally.
special method
.. index:: pair: special; method
A method that is called implicitly by Python to execute a certain
operation on a type, such as addition. Such methods have names starting
and ending with double underscores. Special methods are documented in
...
...
Misc/NEWS.d/next/Documentation/2018-06-15-15-57-37.bpo-33832.xBFhKw.rst
0 → 100644
View file @
f760610b
Add glossary entry for 'magic method'.
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