We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The function time.mktime actually does expect one positional argument:
time.mktime
>>> import time >>> time.localtime() (2024, 12, 29, 17, 33, 32, 6, 364) >>> time.mktime() Traceback (most recent call last): File "<stdin>", line 7, in <module> File "<string>", line 1, in <module> TypeError: function takes 1 positional arguments but 0 were given Exception occured
but the stub expects zero arguments.
The text was updated successfully, but these errors were encountered:
Thanks for the report, ill add a test for this one as well.
Im working on fixing this and many other mismatches and emissions, and keeping the docs easy to maintain and readable by humans and typecheckers
Sorry, something went wrong.
referecence-stubs/time : Use _Time8Tuple for all relevant time methods.
121c81b
also see: #771
tests: Add test for time.mktime
360edb7
ref : #771 Signed-off-by: Jos Verlinde <[email protected]>
No branches or pull requests
The function
time.mktime
actually does expect one positional argument:but the stub expects zero arguments.
The text was updated successfully, but these errors were encountered: