Fix the type info for sanitize_id().

This commit is contained in:
poljar (Damir Jelić) 2018-02-16 15:22:10 +01:00
parent 3b77689c7d
commit b04c952107

View file

@ -31,9 +31,9 @@ from matrix.utils import (
) )
from matrix.colors import Formatted from matrix.colors import Formatted
def sanitize_id(string):
# type: (unicode) -> unicode
def sanitize_id(string):
# type: (str) -> str
if not isinstance(string, str): if not isinstance(string, str):
raise TypeError raise TypeError