summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 367de07..a2c072d 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3729,7 +3729,7 @@ def _get_lines(filename):
return lines
def _clean_up_path(path):
- """Strips any initial "./" and trailing slash from 'path'."""
+ """Strips an initial "./" and any trailing slashes from 'path'."""
if path.startswith("./"):
path = path[2:]
return path.rstrip("/")