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
f72de0fb
Commit
f72de0fb
authored
May 12, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add note about the __name__ read-only attribute
(closes SF bug #952212)
parent
486cb0ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Doc/lib/libstdtypes.tex
Doc/lib/libstdtypes.tex
+6
-1
No files found.
Doc/lib/libstdtypes.tex
View file @
f72de0fb
...
...
@@ -1785,7 +1785,8 @@ slice objects.
\subsection
{
Special Attributes
\label
{
specialattrs
}}
The implementation adds a few special read-only attributes to several
object types, where they are relevant:
object types, where they are relevant. Some of these are not reported
by the
\function
{
dir()
}
built-in function.
\begin{memberdesc}
[object]
{__
dict
__}
A dictionary or other mapping object used to store an
...
...
@@ -1810,3 +1811,7 @@ The class to which a class instance belongs.
The tuple of base classes of a class object. If there are no base
classes, this will be an empty tuple.
\end{memberdesc}
\begin{memberdesc}
[class]
{__
name
__}
The name of the class or type.
\end{memberdesc}
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