summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-06-12 20:46:37 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-06-12 20:46:37 (GMT)
commit2b89fdf7eb17b5ca3928aa3c2f6552e79386c677 (patch)
tree644b67cd605fd28d1b8d676b79787cf03fd4d3df /Include
parentbda4b8802c9693cd1c6f97cc09e34c4f63b030ef (diff)
downloadcpython-2b89fdf7eb17b5ca3928aa3c2f6552e79386c677.zip
cpython-2b89fdf7eb17b5ca3928aa3c2f6552e79386c677.tar.gz
cpython-2b89fdf7eb17b5ca3928aa3c2f6552e79386c677.tar.bz2
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.
Diffstat (limited to 'Include')
-rw-r--r--Include/pytime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pytime.h b/Include/pytime.h
index dd4cc69..52902f5 100644
--- a/Include/pytime.h
+++ b/Include/pytime.h
@@ -26,7 +26,7 @@ typedef struct {
typedef struct {
const char *implementation;
int monotonic;
- int adjusted;
+ int adjustable;
double resolution;
} _Py_clock_info_t;