@@ -1076,15 +1076,16 @@ Files and Directories
10761076
10771077.. function :: utime(path, times)
10781078
1079- Set the access and modified times of the file specified by *path *. If *times * is
1080- ``None ``, then the file's access and modified times are set to the current time.
1081- Otherwise, *times * must be a 2-tuple of numbers, of the form ``(atime, mtime) ``
1082- which is used to set the access and modified times, respectively. Whether a
1083- directory can be given for *path * depends on whether the operating system
1084- implements directories as files (for example, Windows does not). Note that the
1085- exact times you set here may not be returned by a subsequent :func: `stat ` call,
1086- depending on the resolution with which your operating system records access and
1087- modification times; see :func: `stat `.
1079+ Set the access and modified times of the file specified by *path *. If *times *
1080+ is ``None ``, then the file's access and modified times are set to the current
1081+ time. (The effect is similar to running the Unix program :program: `touch ` on
1082+ the path.) Otherwise, *times * must be a 2-tuple of numbers, of the form
1083+ ``(atime, mtime) `` which is used to set the access and modified times,
1084+ respectively. Whether a directory can be given for *path * depends on whether
1085+ the operating system implements directories as files (for example, Windows
1086+ does not). Note that the exact times you set here may not be returned by a
1087+ subsequent :func: `stat ` call, depending on the resolution with which your
1088+ operating system records access and modification times; see :func: `stat `.
10881089
10891090 Availability: Macintosh, Unix, Windows.
10901091
@@ -1596,6 +1597,9 @@ written in Python, such as a mail server's external command delivery program.
15961597 ``-1 ``, status is requested for any process in the process group ``-pid `` (the
15971598 absolute value of *pid *).
15981599
1600+ An :exc: `OSError ` is raised with the value of errno when the syscall
1601+ returns -1.
1602+
15991603 On Windows: Wait for completion of a process given by process handle *pid *, and
16001604 return a tuple containing *pid *, and its exit status shifted left by 8 bits
16011605 (shifting makes cross-platform use of the function easier). A *pid * less than or
0 commit comments