Bug #1575746: fix typo in property() docs.
This commit is contained in:
parent
74d3eef73e
commit
fc8375748a
|
@ -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…
Reference in New Issue