From 2024dcec1e705775b0f806e691867485cefb8c39 Mon Sep 17 00:00:00 2001 From: Paul Bryan Date: Wed, 16 Dec 2020 12:46:22 -0800 Subject: [PATCH] Explicit about annotation key ordering. --- Doc/reference/datamodel.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index c882301ad3a4af..40602ffd1d4d2f 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -552,8 +552,9 @@ Callable types | :attr:`__annotations__` | A dict containing annotations | Writable | | | of parameters. The keys of | | | | the dict are the parameter | | - | | names, and ``'return'`` for | | - | | the return annotation, if | | + | | names in the order declared, | | + | | and ``'return'`` for the | | + | | return annotation, if | | | | provided. | | +-------------------------+-------------------------------+-----------+ | :attr:`__kwdefaults__` | A dict containing defaults | Writable |