DateTime Objects — Python 3.14.7 - dokumentacja

docs.python.org

Tin mới

poprzedni rozdział

Interpreter initialization and finalization

Indeks modułów Pythona

3.14.7 Documentation

Podręcznik API Python/C

Concrete Objects Layer

datetime: Basic date and time types.

On success, populate the PyDateTimeAPI pointer. On failure, set PyDateTimeAPI to NULL and set an exception. The caller must check if an error occurred via PyErr_Occurred():

PyCapsule_Import()

Name of the datetime capsule to pass to PyCapsule_Import().