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