[Python-checkins] peps: Remove normcase(), it's not terribly useful and its presence can be misleading

antoine.pitrou python-checkins at python.org
Sun Nov 17 20:19:14 CET 2013


http://hg.python.org/peps/rev/9c60d5d8020b
changeset:   5285:9c60d5d8020b
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sun Nov 17 20:19:10 2013 +0100
summary:
  Remove normcase(), it's not terribly useful and its presence can be misleading

files:
  pep-0428.txt |  7 -------
  1 files changed, 0 insertions(+), 7 deletions(-)


diff --git a/pep-0428.txt b/pep-0428.txt
--- a/pep-0428.txt
+++ b/pep-0428.txt
@@ -545,13 +545,6 @@
 - Longer patterns can be used as well for more complex matching, e.g.
   "/usr/foo/\*.py" matches "/usr/foo/bar.py".
 
-``normcase()`` returns a case-folded version of the path for NT paths::
-
-    >>> PurePosixPath('CAPS').normcase()
-    PurePosixPath('CAPS')
-    >>> PureWindowsPath('CAPS').normcase()
-    PureWindowsPath('caps')
-
 
 Concrete paths API
 ==================

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list