diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-10-05 21:39:18 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-10-05 21:39:18 (GMT) |
commit | eb053167a84fad09a76db46da2f8861ddd0098a2 (patch) | |
tree | d24aa3c3198fde9744a7622c52459ef9a18f84a4 /Objects | |
parent | 256735ce00f34d652f1e89df134be8eb6da55021 (diff) | |
download | cpython-eb053167a84fad09a76db46da2f8861ddd0098a2.zip cpython-eb053167a84fad09a76db46da2f8861ddd0098a2.tar.gz cpython-eb053167a84fad09a76db46da2f8861ddd0098a2.tar.bz2 |
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/complexobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c index 677ac0e..5ee0c15 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -885,7 +885,7 @@ complex_conjugate(PyObject *self) PyDoc_STRVAR(complex_conjugate_doc, "complex.conjugate() -> complex\n" "\n" -"Returns the complex conjugate of its argument. (3-4j).conjugate() == 3+4j."); +"Return the complex conjugate of its argument. (3-4j).conjugate() == 3+4j."); static PyObject * complex_getnewargs(PyComplexObject *v) @@ -897,7 +897,7 @@ complex_getnewargs(PyComplexObject *v) PyDoc_STRVAR(complex__format__doc, "complex.__format__() -> str\n" "\n" -"Converts to a string according to format_spec."); +"Convert to a string according to format_spec."); static PyObject * complex__format__(PyObject* self, PyObject* args) |