From b04c952107c8ac8e14656744e270f84852932dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Fri, 16 Feb 2018 15:22:10 +0100 Subject: [PATCH] Fix the type info for sanitize_id(). --- matrix/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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