This project could benefit from some example code.
Is it possible to use this to access type annotation for built in functions such as time.sleep?
I would like to access the annotations def sleep(secs: float) -> None: ... within my python script so that I can work with them such that it can be analysed at runtime much in the way that you can use .__annotations__ on other functions.
This project could benefit from some example code.
Is it possible to use this to access type annotation for built in functions such as
time.sleep?I would like to access the annotations
def sleep(secs: float) -> None: ...within my python script so that I can work with them such that it can be analysed at runtime much in the way that you can use.__annotations__on other functions.