[Python-checkins] r52293 - python/trunk/Doc/lib/libfuncs.tex

georg.brandl python-checkins at python.org
Thu Oct 12 09:38:04 CEST 2006


Author: georg.brandl
Date: Thu Oct 12 09:38:04 2006
New Revision: 52293

Modified:
   python/trunk/Doc/lib/libfuncs.tex
Log:
Bug #1575746: fix typo in property() docs.


Modified: python/trunk/Doc/lib/libfuncs.tex
==============================================================================
--- python/trunk/Doc/lib/libfuncs.tex	(original)
+++ python/trunk/Doc/lib/libfuncs.tex	Thu Oct 12 09:38:04 2006
@@ -791,7 +791,7 @@
 
 \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


More information about the Python-checkins mailing list