diff options
author | Georg Brandl <georg@python.org> | 2005-06-25 20:07:36 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-06-25 20:07:36 (GMT) |
commit | e21d9ab342a51dc1a45869157dcc7136edc60ab4 (patch) | |
tree | 19652492df796ef78d7dda43f3119bb424ad9359 /Doc/lib | |
parent | 03dbb4f50dec0b51eddddec2b445c1b6ba8935f3 (diff) | |
download | cpython-e21d9ab342a51dc1a45869157dcc7136edc60ab4.zip cpython-e21d9ab342a51dc1a45869157dcc7136edc60ab4.tar.gz cpython-e21d9ab342a51dc1a45869157dcc7136edc60ab4.tar.bz2 |
bug [ 1175022 ] property example code error
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libfuncs.tex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index cd14865..63a73b1 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -755,6 +755,7 @@ class C: \begin{verbatim} class C(object): + 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 |