mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 21:35:18 -05:00
fix linting issues + make spec builder remove comments in container re-initialization part
This commit is contained in:
@@ -319,7 +319,7 @@ class BaseList(list, Elements):
|
||||
|
||||
def last(self):
|
||||
# be explict about getting the last item, for the non-python readers, and negative-index safety
|
||||
return self[len(self)-1]
|
||||
return self[len(self) - 1]
|
||||
|
||||
|
||||
class List(BaseList):
|
||||
|
||||
Reference in New Issue
Block a user