]> granicus.if.org Git - python/commit
posix_utime(): Allow the second argument to be None, which invokes the
authorBarry Warsaw <barry@python.org>
Mon, 1 May 2000 16:17:24 +0000 (16:17 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 1 May 2000 16:17:24 +0000 (16:17 +0000)
commit3cef856dd9db9e998d4fa3395b466f2ed42f7fc9
treecba358758c855240a2e9f0505eb4d7c861722efe
parent6650320349185a9e2f06fba56a3bd3142fb6f8d5
posix_utime(): Allow the second argument to be None, which invokes the
utime(path, NULL) call, setting the atime and mtime of the file to the
current time.  The previous signature utime(path, (atime, mtime)) is
of course still allowed.
Modules/posixmodule.c