mirror of
https://github.com/python/cpython.git
synced 2026-01-07 07:52:29 +00:00
Bug #1575746: fix typo in property() docs.
This commit is contained in:
parent
74d3eef73e
commit
fc8375748a
1 changed files with 1 additions and 1 deletions
|
|
@ -791,7 +791,7 @@ class C:
|
|||
|
||||
\begin{verbatim}
|
||||
class C(object):
|
||||
def __init__(self): self.__x = None
|
||||
def __init__(self): self._x = None
|
||||
def getx(self): return self._x
|
||||
def setx(self, value): self._x = value
|
||||
def delx(self): del self._x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue