@@ -2017,8 +2017,8 @@ features:
20172017 must be a string specifying a file path. However, some functions now
20182018 alternatively accept an open file descriptor for their *path * argument.
20192019 The function will then operate on the file referred to by the descriptor.
2020- ( For POSIX systems, Python will call the variant of the function prefixed
2021- with ``f `` (e.g. call ``fchdir `` instead of ``chdir ``).)
2020+ For POSIX systems, Python will call the variant of the function prefixed
2021+ with ``f `` (e.g. call ``fchdir `` instead of ``chdir ``).
20222022
20232023 You can check whether or not *path * can be specified as a file descriptor
20242024 for a particular function on your platform using :data: `os.supports_fd `.
@@ -2033,7 +2033,7 @@ features:
20332033* **paths relative to directory descriptors: ** If *dir_fd * is not ``None ``, it
20342034 should be a file descriptor referring to a directory, and the path to operate
20352035 on should be relative; path will then be relative to that directory. If the
2036- path is absolute, *dir_fd * is ignored. ( For POSIX systems, Python will call
2036+ path is absolute, *dir_fd * is ignored. For POSIX systems, Python will call
20372037 the variant of the function with an ``at `` suffix and possibly prefixed with
20382038 ``f `` (e.g. call ``faccessat `` instead of ``access ``).
20392039
@@ -2046,8 +2046,8 @@ features:
20462046* **not following symlinks: ** If *follow_symlinks * is
20472047 ``False ``, and the last element of the path to operate on is a symbolic link,
20482048 the function will operate on the symbolic link itself rather than the file
2049- pointed to by the link. ( For POSIX systems, Python will call the ``l... ``
2050- variant of the function.)
2049+ pointed to by the link. For POSIX systems, Python will call the ``l... ``
2050+ variant of the function.
20512051
20522052 You can check whether or not *follow_symlinks * is supported for a particular
20532053 function on your platform using :data: `os.supports_follow_symlinks `.
@@ -3618,7 +3618,8 @@ features:
36183618 where each member is an int expressing nanoseconds.
36193619 - If *times * is not ``None ``,
36203620 it must be a 2-tuple of the form ``(atime, mtime) ``
3621- where each member is an int or float expressing seconds.
3621+ where each member is a real number expressing seconds,
3622+ rounded down to nanoseconds.
36223623 - If *times * is ``None `` and *ns * is unspecified,
36233624 this is equivalent to specifying ``ns=(atime_ns, mtime_ns) ``
36243625 where both times are the current time.
@@ -3645,6 +3646,9 @@ features:
36453646 .. versionchanged :: 3.6
36463647 Accepts a :term: `path-like object `.
36473648
3649+ .. versionchanged :: next
3650+ Accepts any real numbers as *times *, not only integers or floats.
3651+
36483652
36493653.. function :: walk(top, topdown=True, onerror=None, followlinks=False)
36503654
@@ -4050,7 +4054,7 @@ Naturally, they are all only available on Linux.
40504054 the timer will fire when the timer's clock
40514055 (set by *clockid * in :func: `timerfd_create `) reaches *initial * seconds.
40524056
4053- The timer's interval is set by the *interval * :py:class: ` float ` .
4057+ The timer's interval is set by the *interval * real number .
40544058 If *interval * is zero, the timer only fires once, on the initial expiration.
40554059 If *interval * is greater than zero, the timer fires every time *interval *
40564060 seconds have elapsed since the previous expiration.
0 commit comments