help() on ZoneInfo methods. Here's how it looks now:
>>> help(zoneinfo.ZoneInfo.clear_cache)
Help on built-in function clear_cache:
clear_cache(...) method of builtins.type instance
Clear the ZoneInfo cache.
Add __text_signature__ property to methods, it is very useful: for example, python/typeshed uses it to be sure that stubs and implementation match
Move all argument parsing to clinic, which is more convenient
sobolevn commentedOct 6, 2022
Feature or enhancement
Migrate
_zoneinfo.c
to argument clinic.It is proposed by @vstinner and @pganssle
Link: #19909 (comment)
Pitch
This will improve several things:
help()
onZoneInfo
methods. Here's how it looks now:__text_signature__
property to methods, it is very useful: for example,python/typeshed
uses it to be sure that stubs and implementation matchPrevious discussion
I will send a PR for this today :)
The text was updated successfully, but these errors were encountered: