mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Remove a bunch of useless TODOs
This commit is contained in:
parent
dc7fe93aeb
commit
91cf103783
2 changed files with 0 additions and 4 deletions
|
|
@ -35,8 +35,6 @@ class Int(Object):
|
||||||
class Long(Int):
|
class Long(Int):
|
||||||
SIZE = 8
|
SIZE = 8
|
||||||
|
|
||||||
# TODO: PyCharm can't infer types when overriding parent's __new__ and is showing unnecessary warnings.
|
|
||||||
# Add this to shut warnings down
|
|
||||||
def __new__(cls, *args):
|
def __new__(cls, *args):
|
||||||
return super().__new__(cls, *args)
|
return super().__new__(cls, *args)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1008,7 +1008,6 @@ class Client(Methods, BaseClient):
|
||||||
except (KeyError, ValueError):
|
except (KeyError, ValueError):
|
||||||
raise PeerIdInvalid
|
raise PeerIdInvalid
|
||||||
|
|
||||||
# TODO: Improvements for the new API
|
|
||||||
def save_file(self,
|
def save_file(self,
|
||||||
path: str,
|
path: str,
|
||||||
file_id: int = None,
|
file_id: int = None,
|
||||||
|
|
@ -1084,7 +1083,6 @@ class Client(Methods, BaseClient):
|
||||||
finally:
|
finally:
|
||||||
session.stop()
|
session.stop()
|
||||||
|
|
||||||
# TODO: Improvements for the new API
|
|
||||||
def get_file(self,
|
def get_file(self,
|
||||||
dc_id: int,
|
dc_id: int,
|
||||||
id: int = None,
|
id: int = None,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue