]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
correct word for __annotations__ doc (closes #20110)
authorBenjamin Peterson <benjamin@python.org>
Thu, 2 Jan 2014 22:47:50 +0000 (16:47 -0600)
committerBenjamin Peterson <benjamin@python.org>
Thu, 2 Jan 2014 22:47:50 +0000 (16:47 -0600)
Patch from Claudiu Popa.

Doc/reference/datamodel.rst

index b2847a03a74f3ce696e6e8a54ad70183cafaff97..22cac070306f31f17724815f1b715dba05ef04e3 100644 (file)
@@ -495,7 +495,7 @@ Callable types
       | :attr:`__annotations__` | A dict containing annotations | Writable  |
       |                         | of parameters.  The keys of   |           |
       |                         | the dict are the parameter    |           |
-      |                         | names, or ``'return'`` for    |           |
+      |                         | names, and ``'return'`` for   |           |
       |                         | the return annotation, if     |           |
       |                         | provided.                     |           |
       +-------------------------+-------------------------------+-----------+