os.path: Add stub realpath() function.

pull/499/head
Andrew Leech 2022-06-21 10:09:11 +10:00
rodzic c3870d36fb
commit f2c95fda80
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -12,6 +12,10 @@ def normpath(s):
return s
def realpath(s):
return s
def abspath(s):
if s[0] != "/":
return os.getcwd() + "/" + s