ntp
-
2010-09-14
- labels: --> Editor
Type and then format code:
def test():
x = {
'a': 1, # two spaces before comment (PEP8)
'b': 2
}
return -1
Actual result:
Only one space before comment and '- 1'.
def test():
x = {
'a': 1, # two spaces before comment (PEP8)
'b': 2
}
return - 1
Expected result:
No changes should be made
See also https://sourceforge.net/tracker/index.php?func=detail&aid=2871216&group_id=85796&atid=577329 for another issue with negative numbers.