cleaning / pep8

This commit is contained in:
David Halter
2012-08-23 14:45:29 +02:00
parent 793797ca5c
commit e28d7f0cdf
7 changed files with 14 additions and 13 deletions

View File

@@ -229,3 +229,7 @@ tuple(list(set(a)))[1]
tuple({1})[0]
#? int()
tuple((1,))[0]
# implementation detail for lists, should not be visible
#? []
list().__iterable

View File

@@ -56,7 +56,7 @@ try:
#? str()
""
# wrong ternary
# wrong ternary expression
a = 1 if
#? int()
a

View File

@@ -32,5 +32,6 @@ el = list(evaluate.get_names_for_scope(1))[0][1]
el = list(evaluate.get_names_for_scope())[0][1]
# TODO here should stand evaluate.Instance() and so on.
# need to understand list comprehensions
#?
el = list(evaluate.get_names_for_scope())[0][1][0]