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
76a2caeb
Commit
76a2caeb
authored
Mar 31, 2006
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
51dbc4c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/ref/ref3.tex
Doc/ref/ref3.tex
+2
-2
No files found.
Doc/ref/ref3.tex
View file @
76a2caeb
...
@@ -1035,7 +1035,7 @@ by the built-in \function{classmethod()} constructor.
...
@@ -1035,7 +1035,7 @@ by the built-in \function{classmethod()} constructor.
%=========================================================================
%=========================================================================
\section
{
New-style and classic classes
}
\section
{
New-style and classic classes
}
Classes and instances come in two flavo
u
rs: old-style or classic, and new-style.
Classes and instances come in two flavors: old-style or classic, and new-style.
Up to Python 2.1, old-style classes were the only flavour available to the
Up to Python 2.1, old-style classes were the only flavour available to the
user. The concept of (old-style) class is unrelated to the concept of type: if
user. The concept of (old-style) class is unrelated to the concept of type: if
...
@@ -1065,7 +1065,7 @@ the way special methods are invoked. Others are "fixes" that could not be
...
@@ -1065,7 +1065,7 @@ the way special methods are invoked. Others are "fixes" that could not be
implemented before for compatibility concerns, like the method resolution order
implemented before for compatibility concerns, like the method resolution order
in case of multiple inheritance.
in case of multiple inheritance.
This manu
e
l is not up-to-date with respect to new-style classes. For now,
This manu
a
l is not up-to-date with respect to new-style classes. For now,
please see
\url
{
http://www.python.org/doc/newstyle.html
}
for more information.
please see
\url
{
http://www.python.org/doc/newstyle.html
}
for more information.
The plan is to eventually drop old-style classes, leaving only the semantics of
The plan is to eventually drop old-style classes, leaving only the semantics of
...
...
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