mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Re-word sentence
This commit is contained in:
parent
ced1646b9e
commit
abfe45368c
1 changed files with 1 additions and 1 deletions
|
@ -1273,7 +1273,7 @@ PyDoc_STRVAR(property_doc,
|
|||
" def delx(self): del self._x\n"
|
||||
" x = property(getx, setx, delx, \"I'm the 'x' property.\")\n"
|
||||
"\n"
|
||||
"Decorators makes defining new or modifying existing properties easy:\n"
|
||||
"Decorators make defining new properties or modifying existing ones easy:\n"
|
||||
"class C(object):\n"
|
||||
" @property\n"
|
||||
" def x(self): return self._x\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue