Skip to content

OverCounting in Python Blocks #8

@caseycas

Description

@caseycas

As of now, when there is a space after a block statement in python ends, such as:

+    if(example == True):
+        ....
+
+    print("More Code")

The space is counted toward the block, because we can't distinguish in one pass this case versus this one:

+    if(example == True):
+        ....
+
+        print("More Code")

I think this isn't easily fixable under our overall structure, so I'm going to leave this bug as a issue.
Perhaps when we could keep a count of empty lines passed and when closing the block role back the all the space lines?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions