Typos
This commit is contained in:
parent
5d71bc3710
commit
e9b318b4c6
|
|
@ -130,7 +130,7 @@ class BaseContainer:
|
|||
|
||||
def __iter__(self):
|
||||
"""
|
||||
:rtype : iter[syntax.SemanticType]
|
||||
:ytype : iter[syntax.SemanticType]
|
||||
"""
|
||||
for content in self.content:
|
||||
yield content
|
||||
|
|
@ -617,7 +617,7 @@ class ContextManager:
|
|||
def __iter__(self):
|
||||
"""
|
||||
Iterator over the pile.
|
||||
:rtype: BaseContainer
|
||||
:ytype: BaseContainer
|
||||
"""
|
||||
for e in self.pile:
|
||||
if e:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ from bootstraparse.modules.tools import __GLk # __GFi, __GFu, __GL
|
|||
|
||||
# Define the error codes
|
||||
_ERRORS = ["ParsingError", "MismatchedContainerError"]
|
||||
__all__ = _ERRORS+[]
|
||||
|
||||
|
||||
def init_logging(filename=None, loglevel="ERROR", filemode='w', handler=None):
|
||||
|
|
|
|||
Loading…
Reference in New Issue