mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +00:00
Revert "[Core] Document all exported core methods with type hints"
Typing is broken with older versions of Twisted e.g. with v21.2
deluge/deluge/core/core.py", line 404, in Core
) -> defer.Deferred[str]:
TypeError: 'type' object is not subscriptable
Also it might not be compatible with Python 3.6 or 3.7 with use of
certain types such as dict rather than Dict
This reverts commit 4096cdfdfe
.
Ref: https://twistedmatrix.com/trac/ticket/9816
This commit is contained in:
parent
4096cdfdfe
commit
1089adb844
4 changed files with 170 additions and 166 deletions
|
@ -48,7 +48,6 @@ extensions = [
|
|||
'sphinx.ext.coverage',
|
||||
'sphinxcontrib.spelling',
|
||||
'myst_parser',
|
||||
'sphinx_autodoc_typehints',
|
||||
]
|
||||
|
||||
napoleon_include_init_with_doc = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue