summaryrefslogtreecommitdiff
path: root/doc/development/tutorials/examples/todo.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2020-03-10 10:58:18 +0100
committerAntony Lee <anntzer.lee@gmail.com>2020-03-14 22:52:45 +0100
commitf9048cf18e1752888c06e49f446fd03d82301540 (patch)
treeb8dee3897fdf8ba9d010c38ae6335c93b9bb3a4a /doc/development/tutorials/examples/todo.py
parent5caaa5534b3a683d5f93e507f40a150be34af0c9 (diff)
downloadsphinx-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