zerver/lib: Change use of typing.Text to str.

This commit is contained in:
Aditya Bansal
2018-05-10 22:43:36 +05:30
committed by Tim Abbott
parent 2f3b2fbf59
commit 1f9244e060
43 changed files with 233 additions and 241 deletions

View File

@@ -4,10 +4,10 @@ from django.conf import settings
import hashlib
import base64
from typing import Optional, Text
from typing import Optional
def initial_password(email: Text) -> Optional[Text]:
def initial_password(email: str) -> Optional[str]:
"""Given an email address, returns the initial password for that account, as
created by populate_db."""