mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-06 17:02:07 +00:00
Link Python keywords with Python's documentation
This commit is contained in:
@@ -144,11 +144,11 @@ class StateCache:
|
||||
|
||||
def __getitem__(self, item):
|
||||
"""
|
||||
If `item` is ``None``, returns the default ``(pts, date)``.
|
||||
If `item` is `None`, returns the default ``(pts, date)``.
|
||||
|
||||
If it's an **unmarked** channel ID, returns its ``pts``.
|
||||
|
||||
If no information is known, ``pts`` will be ``None``.
|
||||
If no information is known, ``pts`` will be `None`.
|
||||
"""
|
||||
if item is None:
|
||||
return self._pts_date
|
||||
|
||||
Reference in New Issue
Block a user