summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/os.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/library/os.rst b/docs/library/os.rst
index df5ade3277..e9b7d40bf5 100644
--- a/docs/library/os.rst
+++ b/docs/library/os.rst
@@ -46,6 +46,10 @@ Functions
Remove a directory.
+.. function:: rename(old_path, new_path)
+
+ Rename a file.
+
.. function:: stat(path)
Get the status of a file or directory.