Bug #1575746: fix typo in property() docs.

This commit is contained in:
Georg Brandl 2006-10-12 07:38:04 +00:00
parent 74d3eef73e
commit fc8375748a
1 changed files with 1 additions and 1 deletions

View File

@ -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