[docs] [issue14870] os.utimensat's method description uses wrong notation

Hynek Schlawack report at bugs.python.org
Mon May 21 13:50:06 CEST 2012

New submission from Hynek Schlawack <hs at ox.cx>:

It says:

> 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.

assignee: docs at python
components: Documentation
keywords: easy
messages: 161264
nosy: docs at python, eric.araujo, ezio.melotti, georg.brandl, hynek
priority: low
severity: normal
status: open
title: os.utimensat's method description uses wrong notation
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the docs mailing list