Skip to content

Commit 89d69b1

Browse files
committed
os: Add "remove" as an alias to "unlink".
1 parent c238579 commit 89d69b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

os/os/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def rename(old, new):
8787
def unlink(name):
8888
e = unlink_(name)
8989
check_error(e)
90+
remove = unlink
9091

9192
def rmdir(name):
9293
e = rmdir_(name)

0 commit comments

Comments
 (0)