mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix 3.8 syntax warning and erroneous documentation
Closes #1340 (syntax warning) Closes #1341 (outdated docs)
This commit is contained in:
@@ -464,11 +464,6 @@ class AuthMethods:
|
||||
phone = '+34 123 123 123'
|
||||
sent = await client.send_code_request(phone)
|
||||
print(sent)
|
||||
|
||||
if sent.phone_registered:
|
||||
print('This phone has an existing account registered')
|
||||
else:
|
||||
print('This phone does not have an account registered')
|
||||
"""
|
||||
result = None
|
||||
phone = utils.parse_phone(phone) or self._phone
|
||||
|
Reference in New Issue
Block a user