From 79da5258186b9c430cc044b771e0f9b14e1fe746 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Mon, 5 Nov 2018 11:23:34 +0100 Subject: [PATCH] Fix doc string for sysmisc.cd() Thanks to Plamen for hint --- src/sysmisc.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/sysmisc.py b/src/sysmisc.py index 6898f31..12d2c88 100644 --- a/src/sysmisc.py +++ b/src/sysmisc.py @@ -118,6 +118,8 @@ def cd(path): Taken from comment for python recipe by Greg Warner at http://code.activestate.com/recipes/576620-changedirectory-context-manager/ (MIT license) + + :arg str path: paht to temporarily switch to """ orig_wd = os.getcwd() os.chdir(path) -- 1.7.1