1. Thomas Waldmann
  2. EmeraldTree

Commits

Thomas Waldmann  committed 6fcfe20

cosmetic: use augmented assignments

  • Participants
  • Parent commits 08644d4
  • Branches default

Comments (0)

Files changed (2)

File emeraldtree/ElementInclude.py

View file
                 )
         else:
             include(e, loader)
-        i = i + 1
+        i += 1

File emeraldtree/tree.py

View file
                     self._root = self._parser.close()
                     self._parser = None
             else:
-                self._index = self._index + 1
+                self._index += 1
                 return item
 
     def __iter__(self):