eric6/Utilities/__init__.py

changeset 7835
0835ed67714b
parent 7785
9978016560ec
child 7836
2f0d208b8137
--- a/eric6/Utilities/__init__.py	Thu Nov 19 17:41:58 2020 +0100
+++ b/eric6/Utilities/__init__.py	Sat Nov 21 19:31:16 2020 +0100
@@ -724,7 +724,7 @@
     @return path with converted separator characters (string)
     """
     return QDir.toNativeSeparators(path)
-    
+
 
 def fromNativeSeparators(path):
     """
@@ -734,8 +734,9 @@
     @return path with converted separator characters (string)
     """
     return QDir.fromNativeSeparators(path)
-    
+
 
+# TODO: check which path functions are already covered by Python 3
 def normcasepath(path):
     """
     Function returning a path, that is normalized with respect to its case
@@ -745,7 +746,7 @@
     @return case normalized path (string)
     """
     return os.path.normcase(os.path.normpath(path))
-    
+
 
 def normabspath(path):
     """
@@ -755,7 +756,7 @@
     @return absolute, normalized path (string)
     """
     return os.path.abspath(path)
-    
+
 
 def normcaseabspath(path):
     """
@@ -766,7 +767,7 @@
     @return absolute, normalized path (string)
     """
     return os.path.normcase(os.path.abspath(path))
-    
+
 
 def normjoinpath(a, *p):
     """
@@ -777,7 +778,7 @@
     @return normalized path (string)
     """
     return os.path.normpath(os.path.join(a, *p))
-    
+
 
 def normabsjoinpath(a, *p):
     """
@@ -789,7 +790,7 @@
     @return absolute, normalized path (string)
     """
     return os.path.abspath(os.path.join(a, *p))
-    
+
 
 def relpath(path, start=os.path.curdir):
     """

eric ide

mercurial