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
b25229d8
Commit
b25229d8
authored
Jul 05, 2003
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SF bug #766288, property() example gives syntax error
parent
be56aae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/lib/libfuncs.tex
Doc/lib/libfuncs.tex
+1
-1
No files found.
Doc/lib/libfuncs.tex
View file @
b25229d8
...
...
@@ -747,7 +747,7 @@ class C(object):
def getx(self): return self.
__
x
def setx(self, value): self.
__
x = value
def delx(self): del self.
__
x
x = property(getx, setx, delx, "I'm the 'x' property.")
x = property(getx, setx, delx, "I'm the 'x' property.")
\end{verbatim}
\versionadded
{
2.2
}
...
...
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