1. Joe Amenta
  2. lib3to2


Joe Amenta  committed 0f85717

The newline at the beginning of a suite is not indented, fixing indentation() to reflect that

  • Participants
  • Parent commits d7bd8a3
  • Branches default

Comments (0)

Files changed (1)

File lib3to2/fixer_util.py

View file
     elif node.prev_sibling is not None and node.prev_sibling.type == token.INDENT:
         return node.prev_sibling.value
     elif node.prev_sibling is None:
-        return node.next_sibling.value
+        return ""
         return node.prefix