diff --git a/matrix/events.py b/matrix/events.py index d65cb80..1fb7863 100644 --- a/matrix/events.py +++ b/matrix/events.py @@ -31,9 +31,9 @@ from matrix.utils import ( ) from matrix.colors import Formatted -def sanitize_id(string): - # type: (unicode) -> unicode +def sanitize_id(string): + # type: (str) -> str if not isinstance(string, str): raise TypeError