summaryrefslogtreecommitdiff
path: root/linuxnamespaces/atlocation.py
diff options
context:
space:
mode:
Diffstat (limited to 'linuxnamespaces/atlocation.py')
-rw-r--r--linuxnamespaces/atlocation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxnamespaces/atlocation.py b/linuxnamespaces/atlocation.py
index 2bd3f51..08c0de5 100644
--- a/linuxnamespaces/atlocation.py
+++ b/linuxnamespaces/atlocation.py
@@ -313,7 +313,7 @@ class AtLocation:
assert self.location
return os.rmdir(self.location, dir_fd=self.fd_or_none)
- def symlink(self, linktarget: PathConvertible) -> None:
+ def symlink_to(self, linktarget: PathConvertible) -> None:
"""Create a symlink at self pointing to linktarget. Note that this
method has its arguments reversed compared to the usual os.symlink,
because the dir_fd is applicable to the second argument there.