@@ -94,7 +94,7 @@ the :mod:`glob` module.)
9494 Any iterable can now be passed, rather than just sequences.
9595
9696
97- .. function :: commonprefix(list)
97+ .. function :: commonprefix(list, / )
9898
9999 Return the longest path prefix (taken character-by-character) that is a
100100 prefix of all paths in *list *. If *list * is empty, return the empty string
@@ -199,14 +199,14 @@ the :mod:`glob` module.)
199199 Accepts a :term: `path-like object `.
200200
201201
202- .. function :: getatime(path)
202+ .. function :: getatime(path, / )
203203
204204 Return the time of last access of *path *. The return value is a floating-point number giving
205205 the number of seconds since the epoch (see the :mod: `time ` module). Raise
206206 :exc: `OSError ` if the file does not exist or is inaccessible.
207207
208208
209- .. function :: getmtime(path)
209+ .. function :: getmtime(path, / )
210210
211211 Return the time of last modification of *path *. The return value is a floating-point number
212212 giving the number of seconds since the epoch (see the :mod: `time ` module).
@@ -216,7 +216,7 @@ the :mod:`glob` module.)
216216 Accepts a :term: `path-like object `.
217217
218218
219- .. function :: getctime(path)
219+ .. function :: getctime(path, / )
220220
221221 Return the system's ctime which, on some systems (like Unix) is the time of the
222222 last metadata change, and, on others (like Windows), is the creation time for *path *.
@@ -228,7 +228,7 @@ the :mod:`glob` module.)
228228 Accepts a :term: `path-like object `.
229229
230230
231- .. function :: getsize(path)
231+ .. function :: getsize(path, / )
232232
233233 Return the size, in bytes, of *path *. Raise :exc: `OSError ` if the file does
234234 not exist or is inaccessible.
@@ -351,7 +351,7 @@ the :mod:`glob` module.)
351351 .. versionadded :: 3.13
352352
353353
354- .. function :: join(path, *paths)
354+ .. function :: join(path, /, *paths)
355355
356356 Join one or more path segments intelligently. The return value is the
357357 concatenation of *path * and all members of *\* paths *, with exactly one
@@ -402,7 +402,7 @@ the :mod:`glob` module.)
402402 Accepts a :term: `path-like object `.
403403
404404
405- .. function :: realpath(path, *, strict=False)
405+ .. function :: realpath(path, /, *, strict=False)
406406
407407 Return the canonical path of the specified filename, eliminating any symbolic
408408 links encountered in the path (if they are supported by the operating
@@ -471,7 +471,7 @@ the :mod:`glob` module.)
471471 Accepts a :term: `path-like object `.
472472
473473
474- .. function :: samefile(path1, path2)
474+ .. function :: samefile(path1, path2, / )
475475
476476 Return ``True `` if both pathname arguments refer to the same file or directory.
477477 This is determined by the device number and i-node number and raises an
@@ -498,7 +498,7 @@ the :mod:`glob` module.)
498498 Accepts a :term: `path-like object `.
499499
500500
501- .. function :: samestat(stat1, stat2)
501+ .. function :: samestat(stat1, stat2, / )
502502
503503 Return ``True `` if the stat tuples *stat1 * and *stat2 * refer to the same file.
504504 These structures may have been returned by :func: `os.fstat `,
0 commit comments