From b7c81d7965cb9050377eea2709c948d46d2e5af7 Mon Sep 17 00:00:00 2001 From: Andrew Leech Date: Tue, 21 Jun 2022 10:09:11 +1000 Subject: [PATCH] os.path: Add stub realpath() function. --- python-stdlib/os-path/os/path.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-stdlib/os-path/os/path.py b/python-stdlib/os-path/os/path.py index b9ae1972..3aa92373 100644 --- a/python-stdlib/os-path/os/path.py +++ b/python-stdlib/os-path/os/path.py @@ -12,6 +12,10 @@ def normpath(s): return s +def realpath(s): + return s + + def abspath(s): if s[0] != "/": return os.getcwd() + "/" + s