This commit is contained in:
Maximilien Rigaut 2022-06-09 16:35:26 +02:00
parent 1fa28a41a7
commit c52b7c959f
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): 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:

View File

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