We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c8fde0 commit a338d4fCopy full SHA for a338d4f
Doc/whatsnew/3.14.rst
@@ -744,7 +744,7 @@ getopt
744
glob
745
----
746
747
-* Add ``~`` expansion to user's home directory.
+* Add *expand_tilde* option to :func:`~glob.glob`.
748
(Contributed by Stan Ulbrych in :gh:`132757`.)
749
750
Lib/glob.py
@@ -553,9 +553,3 @@ def scandir(path):
553
@staticmethod
554
def concat_path(path, text):
555
return path.with_segments(str(path) + text)
556
-
557
-if __name__ == '__main__':
558
- from pathlib import Path
559
- print('os:', os.path.expanduser('~'))
560
- print('pathlib:', Path.home())
561
- assert str(os.path.expanduser('~')) == str(Path.home())
0 commit comments