QUERY · ISSUE
docs: time.mktime requires one positional argument
docs
Documentation URL
No response
Description
when running the function time.mktime(), an exception occurs as the function does require one positional argument. But this is not documented, although it states "t’s argument is a full 8-tuple" inside the description.
Code of Conduct
Yes, I agree
CANDIDATE · PULL REQUEST
docs: utime: Mention that mktime() is not available on all ports.
docs
The description of utime.mktime() is quite adhoc, not compatible with
CPython, hard to implement (or not much useful) in the case of lack
of always-powered RTC. That means that it doesn't make sense for all
ports, and various ports don't implement it, starting from the Unix
port.
Change-Id: I01855921dce038bf0df89f0bc916b564c3935a62