Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b25229d

Browse files
committed
Fix SF bug #766288, property() example gives syntax error
1 parent be56aae commit b25229d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/libfuncs.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ \section{Built-in Functions \label{built-in-funcs}}
747747
def getx(self): return self.__x
748748
def setx(self, value): self.__x = value
749749
def delx(self): del self.__x
750-
x = property(getx, setx, delx, "I'm the 'x' property.")
750+
x = property(getx, setx, delx, "I'm the 'x' property.")
751751
\end{verbatim}
752752

753753
\versionadded{2.2}

0 commit comments

Comments
 (0)