[Python-checkins] cpython (3.3): #19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.

ezio.melotti python-checkins at python.org
Sat Oct 5 23:40:33 CEST 2013


http://hg.python.org/cpython/rev/54213ef5bb19
changeset:   85974:54213ef5bb19
branch:      3.3
parent:      85972:5135a431f7b3
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
@@ -681,7 +681,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)
@@ -693,7 +693,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