Globals/__init__.py

changeset 4724
682f009d086d
parent 4695
9dc08852de25
child 4828
b313794f46a2
--- a/Globals/__init__.py	Sun Feb 07 15:18:17 2016 +0100
+++ b/Globals/__init__.py	Sun Feb 07 18:07:05 2016 +0100
@@ -267,14 +267,14 @@
     @return result string
     @rtype str
     """
-    l=[]
+    groups = []
     
     while len(txt) // groupLen != 0:
-        l.insert(0, txt[-groupLen:])
+        groups.insert(0, txt[-groupLen:])
         txt = txt[:-groupLen]
     if len(txt) > 0:
-        l.insert(0, txt)
-    return sep.join(l)
+        groups.insert(0, txt)
+    return sep.join(groups)
 
 
 ###############################################################################

eric ide

mercurial