closes bpo-37964: add F_GETPATH command to fcntl (GH-15550)



https://bugs.python.org/issue37964



Automerge-Triggered-By: @benjaminp
diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst
index 2db9674..6a66f5b 100644
--- a/Doc/library/fcntl.rst
+++ b/Doc/library/fcntl.rst
@@ -33,6 +33,10 @@
    ``F_SEAL_*`` constants for sealing of :func:`os.memfd_create` file
    descriptors.
 
+.. versionchanged:: 3.9
+   On macOS, the fcntl module exposes the ``F_GETPATH`` constant, which obtains
+   the path of a file from a file descriptor.
+
 The module defines the following functions: