diff options
author | Antony Lee <anntzer.lee@gmail.com> | 2020-03-10 10:58:18 +0100 |
---|---|---|
committer | Antony Lee <anntzer.lee@gmail.com> | 2020-03-14 22:52:45 +0100 |
commit | f9048cf18e1752888c06e49f446fd03d82301540 (patch) | |
tree | b8dee3897fdf8ba9d010c38ae6335c93b9bb3a4a /doc/development/tutorials/examples/todo.py | |
parent | 5caaa5534b3a683d5f93e507f40a150be34af0c9 (diff) | |
download | sphinx-git-f9048cf18e1752888c06e49f446fd03d82301540.tar.gz |
Handle singledispatch functions with rewritten signatures.
If a singledispatch function has its `__signature__` rewritten, autodoc
fails to annotate that signature because `func.__annotations__` is not
consulted. Instead, directly assign to `__signature__` instead.
Diffstat (limited to 'doc/development/tutorials/examples/todo.py')
0 files changed, 0 insertions, 0 deletions