[Python-checkins] r52294 - python/branches/release25-maint/Doc/lib/libfuncs.tex
georg.brandl
python-checkins at python.org
Thu Oct 12 09:38:08 CEST 2006
Author: georg.brandl
Date: Thu Oct 12 09:38:08 2006
New Revision: 52294
Modified:
python/branches/release25-maint/Doc/lib/libfuncs.tex
Log:
Bug #1575746: fix typo in property() docs.
(backport from rev. 52293)
Modified: python/branches/release25-maint/Doc/lib/libfuncs.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/libfuncs.tex (original)
+++ python/branches/release25-maint/Doc/lib/libfuncs.tex Thu Oct 12 09:38:08 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