New submission from Hynek Schlawack <h...@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@python
components: Documentation
keywords: easy
messages: 161264
nosy: docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14870>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to