diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-07-22 12:00:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 12:00:16 +0100 |
commit | d8324b8238a31b8d749b1dfe507c3bed3bcc6e17 (patch) | |
tree | 6783e1e477bac3bd9004d49e7417e44929eee2b3 /changelog.d | |
parent | Move dev/ docs to development/ (#10453) (diff) | |
download | synapse-d8324b8238a31b8d749b1dfe507c3bed3bcc6e17.tar.xz |
Fix a handful of type annotations. (#10446)
* switch from `types.CoroutineType` to `typing.Coroutine` these should be identical semantically, and since `defer.ensureDeferred` is defined to take a `typing.Coroutine`, will keep mypy happy * Fix some annotations on inlineCallbacks functions * changelog
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/10446.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10446.misc b/changelog.d/10446.misc new file mode 100644 index 0000000000..a5a0ca80eb --- /dev/null +++ b/changelog.d/10446.misc @@ -0,0 +1 @@ +Update type annotations to work with forthcoming Twisted 21.7.0 release. |