Fix the type info for sanitize_id().
This commit is contained in:
parent
3b77689c7d
commit
b04c952107
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue