You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2012-12-27.10:05:03.756>created_at=<Date2012-05-21.11:50:05.885>labels= ['easy', 'type-feature', 'docs']
title='Descriptions of os.utime() and os.utimensat() use wrong notation'updated_at=<Date2012-12-27.10:05:03.754>user='https://github.com/hynek'
os.utimensat(dirfd, path[, atime=(atime_sec, atime_nsec), mtime=(mtime_sec, mtime_nsec), flags=0])
Updates the timestamps of a file with nanosecond precision. The atime and mtime tuples default to None, which sets those values to the current time.
It should be the other way around: atime=None, mtime=None in the signature and explain in the body how they look like. It looks like atime_sec and atime_nsec are some magic constants this way.
akheron
changed the title
os.utimensat's method description uses wrong notation
Descriptions of os.utime() and os.utimensat() use wrong notation
May 21, 2012
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: