kopia lustrzana https://github.com/micropython/micropython-lib
os: Add sep, curdir, pardir constants.
rodzic
31f20a083f
commit
f972957f99
|
@ -35,6 +35,9 @@ F_OK = const(0)
|
||||||
|
|
||||||
|
|
||||||
error = OSError
|
error = OSError
|
||||||
|
sep = "/"
|
||||||
|
curdir = "."
|
||||||
|
pardir = ".."
|
||||||
|
|
||||||
def check_error(ret):
|
def check_error(ret):
|
||||||
if ret == -1:
|
if ret == -1:
|
||||||
|
|
Ładowanie…
Reference in New Issue