parent
a1cf44de4c
commit
bdbb9c62de
|
@ -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