← index #16500PR #17056
Likely Duplicate · medium · value 4.047
QUERY · ISSUE

docs: time.mktime requires one positional argument

openby maxi07opened 2024-12-29updated 2025-10-03
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: Minor amendments to the documentation.

mergedby robert-hhopened 2025-03-31updated 2025-05-28
docs

Summary

A few documentation updates aiming to clarify topics which confused users.

  • Amend the documentation of time.mktime() by showing the argument and refer to epoch instead of a fixed
    date. The note about epoch lists the ports using the POSIX epoch.
  • ESP32: Mention the different timer counts show the number of timers for each ESP32 variant.
  • ESP32: Mention the use of Timer(0) by UART.IRQ_RXIDLE.

Testing

Build the HTML version of the documentation.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied