Commits

Georg Brandl committed ac650ad

Bug #1575746: fix typo in property() docs.

  • Participants
  • Parent commits 66b83d1
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Doc/lib/libfuncs.tex

 
 \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