[Python-checkins] cpython (2.7): #19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
ezio.melotti
python-checkins at python.org
Sat Oct 5 23:40:36 CEST 2013
http://hg.python.org/cpython/rev/3ef157674abc
changeset: 85976:3ef157674abc
branch: 2.7
parent: 85962:92c2e76ca595
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sun Oct 06 00:39:18 2013 +0300
summary:
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
files:
Objects/complexobject.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -885,7 +885,7 @@
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 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list