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
97a06cb5
Commit
97a06cb5
authored
Dec 03, 2001
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add __delete__ method of properties
Reflow paragraph
parent
ea9bedda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Doc/whatsnew/whatsnew22.tex
Doc/whatsnew/whatsnew22.tex
+4
-1
No files found.
Doc/whatsnew/whatsnew22.tex
View file @
97a06cb5
...
...
@@ -210,11 +210,14 @@ have a few attributes of their own:
\item
\member
{__
doc
__}
is the attribute's docstring.
\item
\method
{__
get
__
(
\var
{
object
}
)
}
is a method that retrieves the attribute value from
\var
{
object
}
.
\item
\method
{__
get
__
(
\var
{
object
}
)
}
is a method that retrieves the
attribute value from
\var
{
object
}
.
\item
\method
{__
set
__
(
\var
{
object
}
,
\var
{
value
}
)
}
sets the attribute
on
\var
{
object
}
to
\var
{
value
}
.
\item
\method
{__
delete
__
(
\var
{
object
}
)
}
deletes the
\var
{
value
}
attribute of
\var
{
object
}
.
\end{itemize}
For example, when you write
\code
{
obj.x
}
, the steps that Python
...
...
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