Skip to content

Commit eb05316

Browse files
committed
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
1 parent 256735c commit eb05316

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Objects/complexobject.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ complex_conjugate(PyObject *self)
885885
PyDoc_STRVAR(complex_conjugate_doc,
886886
"complex.conjugate() -> complex\n"
887887
"\n"
888-
"Returns the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.");
888+
"Return the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.");
889889

890890
static PyObject *
891891
complex_getnewargs(PyComplexObject *v)
@@ -897,7 +897,7 @@ complex_getnewargs(PyComplexObject *v)
897897
PyDoc_STRVAR(complex__format__doc,
898898
"complex.__format__() -> str\n"
899899
"\n"
900-
"Converts to a string according to format_spec.");
900+
"Convert to a string according to format_spec.");
901901

902902
static PyObject *
903903
complex__format__(PyObject* self, PyObject* args)

0 commit comments

Comments
 (0)