diff -r 6c6f7dff597b Lib/pathlib.py --- a/Lib/pathlib.py Mon Feb 15 17:50:33 2016 +0100 +++ b/Lib/pathlib.py Mon Feb 15 22:03:09 2016 -0500 @@ -1063,7 +1063,7 @@ def glob(self, pattern): """Iterate over this subtree and yield all existing files (of any - kind, including directories) matching the given pattern. + kind, including directories) matching the given relative pattern. """ if not pattern: raise ValueError("Unacceptable pattern: {!r}".format(pattern)) @@ -1077,7 +1077,8 @@ def rglob(self, pattern): """Recursively yield all existing files (of any kind, including - directories) matching the given pattern, anywhere in this subtree. + directories) matching the given relative pattern, anywhere in + this subtree. """ pattern = self._flavour.casefold(pattern) drv, root, pattern_parts = self._flavour.parse_parts((pattern,))