Skip to content

Commit

Permalink
Revert "[Core] Document all exported core methods with type hints"
Browse files Browse the repository at this point in the history
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 4096cdf.

Ref: https://twistedmatrix.com/trac/ticket/9816
  • Loading branch information
cas-- committed Feb 5, 2022
1 parent 4096cdf commit 1089adb
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 166 deletions.
Loading

0 comments on commit 1089adb

Please sign in to comment.