summary refs log tree commit diff
path: root/changelog.d/10446.misc
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-07-22 12:00:16 +0100
committerGitHub <noreply@github.com>2021-07-22 12:00:16 +0100
commitd8324b8238a31b8d749b1dfe507c3bed3bcc6e17 (patch)
tree6783e1e477bac3bd9004d49e7417e44929eee2b3 /changelog.d/10446.misc
parentMove dev/ docs to development/ (#10453) (diff)
downloadsynapse-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/10446.misc')
-rw-r--r--changelog.d/10446.misc1
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.