summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfuncs.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-06-25 20:07:36 (GMT)
committerGeorg Brandl <georg@python.org>2005-06-25 20:07:36 (GMT)
commite21d9ab342a51dc1a45869157dcc7136edc60ab4 (patch)
tree19652492df796ef78d7dda43f3119bb424ad9359 /Doc/lib/libfuncs.tex
parent03dbb4f50dec0b51eddddec2b445c1b6ba8935f3 (diff)
downloadcpython-e21d9ab342a51dc1a45869157dcc7136edc60ab4.zip
cpython-e21d9ab342a51dc1a45869157dcc7136edc60ab4.tar.gz
cpython-e21d9ab342a51dc1a45869157dcc7136edc60ab4.tar.bz2
bug [ 1175022 ] property example code error
Diffstat (limited to 'Doc/lib/libfuncs.tex')
-rw-r--r--Doc/lib/libfuncs.tex1
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