[Python-checkins] cpython: Add a versionadded directive to os.PathLike

berker.peksag python-checkins at python.org
Fri Jun 10 01:43:52 EDT 2016


https://hg.python.org/cpython/rev/15738f76fe6f
changeset:   101841:15738f76fe6f
parent:      101839:76f831e4b806
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Fri Jun 10 08:43:54 2016 +0300
summary:
  Add a versionadded directive to os.PathLike

files:
  Doc/library/os.rst |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -209,6 +209,8 @@
    An :term:`abstract base class` for objects representing a file system path,
    e.g. :class:`pathlib.PurePath`.
 
+   .. versionadded:: 3.6
+
    .. abstractmethod:: __fspath__()
 
       Return the file system path representation of the object.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list