@@ -282,6 +282,8 @@ class PathPlus(pathlib.Path):
282282 instantiating a Path will return either a PosixPath or a WindowsPath
283283 object. You can also instantiate a PosixPath or WindowsPath directly,
284284 but cannot instantiate a WindowsPath on a POSIX system or vice versa.
285+
286+ .. versionadded:: 0.3.8
285287 """
286288
287289 def __new__ (cls , * args , ** kwargs ):
@@ -296,6 +298,8 @@ def __new__(cls, *args, **kwargs):
296298 def make_executable (self ):
297299 """
298300 Make the file executable.
301+
302+ .. versionadded:: 0.3.8
299303 """
300304
301305 make_executable (self )
@@ -313,6 +317,8 @@ def write_clean(
313317 :type string: str
314318 :param encoding: The encoding to write to the file using. Default ``"UTF-8"``.
315319 :param errors:
320+
321+ .. versionadded:: 0.3.8
316322 """
317323
318324 with self .open ("w" , encoding = encoding , errors = errors ) as fp :
@@ -338,6 +344,8 @@ def maybe_make(
338344 will be ignored (same behavior as the POSIX mkdir -p command), but only if the last path
339345 component is not an existing non-directory file.
340346 :type exist_ok: bool, optional
347+
348+ .. versionadded:: 0.3.8
341349 """
342350
343351 maybe_make (self , mode = mode , parents = parents , exist_ok = exist_ok )
@@ -355,6 +363,8 @@ def append_text(
355363 :type string: str
356364 :param encoding: The encoding to write to the file using. Default ``"UTF-8"``.
357365 :param errors:
366+
367+ .. versionadded:: 0.3.8
358368 """
359369
360370 with self .open ("a" , encoding = encoding , errors = errors ) as fp :
@@ -373,6 +383,8 @@ def write_text(
373383 :type data: str
374384 :param encoding: The encoding to write to the file using. Default ``"UTF-8"``.
375385 :param errors:
386+
387+ .. versionadded:: 0.3.8
376388 """
377389
378390 return super ().write_text (data , encoding = encoding , errors = errors )
@@ -389,6 +401,8 @@ def read_text(
389401 :param errors:
390402
391403 :return: The content of the file.
404+
405+ .. versionadded:: 0.3.8
392406 """
393407
394408 return super ().read_text (encoding = encoding , errors = errors )
@@ -404,6 +418,19 @@ def open(
404418 """
405419 Open the file pointed by this path and return a file object, as
406420 the built-in open() function does.
421+
422+ :param mode: The mode to open the file in. Default ``"r"`` (read only.
423+ :type mode: str
424+ :param buffering:
425+ :type buffering: int
426+ :param encoding:
427+ :type encoding: str
428+ :param errors:
429+ :param newline:
430+
431+ :return:
432+
433+ .. versionadded:: 0.3.8
407434 """
408435
409436 if 'b' in mode :
@@ -415,6 +442,8 @@ class PosixPathPlus(PathPlus, pathlib.PurePosixPath):
415442 """Path subclass for non-Windows systems.
416443
417444 On a POSIX system, instantiating a PathPlus object should return an instance of this class.
445+
446+ .. versionadded:: 0.3.8
418447 """
419448 __slots__ = ()
420449
@@ -423,6 +452,8 @@ class WindowsPathPlus(PathPlus, pathlib.PureWindowsPath):
423452 """Path subclass for Windows systems.
424453
425454 On a Windows system, instantiating a PathPlus object should return an instance of this class.
455+
456+ .. versionadded:: 0.3.8
426457 """
427458 __slots__ = ()
428459
0 commit comments