This commit is contained in:
Maximilien Rigaut 2022-06-09 16:35:26 +02:00
parent 5d71bc3710
commit e9b318b4c6
No known key found for this signature in database
GPG Key ID: 4F14B23709ADA5B1
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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):