mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result
Fix also its value on Windows and Linux according to its documentation: "adjustable" indicates if the clock *can be* adjusted, not if it is or was adjusted. In most cases, it is not possible to indicate if a clock is or was adjusted.
This commit is contained in:
parent
bda4b8802c
commit
2b89fdf7eb
6 changed files with 30 additions and 37 deletions
|
|
@ -26,7 +26,7 @@ typedef struct {
|
|||
typedef struct {
|
||||
const char *implementation;
|
||||
int monotonic;
|
||||
int adjusted;
|
||||
int adjustable;
|
||||
double resolution;
|
||||
} _Py_clock_info_t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue