diff --git a/src/bootstraparse/__main__.py b/src/bootstraparse/__main__.py index d4028d3..bbee6dc 100755 --- a/src/bootstraparse/__main__.py +++ b/src/bootstraparse/__main__.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -# Main program, use this to start parsing +""" Main program, use this to start parsing""" from bootstraparse.modules import sitecreator, error_mngr import argparse diff --git a/src/bootstraparse/modules/__init__.py b/src/bootstraparse/modules/__init__.py index e69de29..363b3a8 100644 --- a/src/bootstraparse/modules/__init__.py +++ b/src/bootstraparse/modules/__init__.py @@ -0,0 +1,3 @@ +""" +The modules in this folder are used to parse the website. +""" \ No newline at end of file diff --git a/src/bootstraparse/modules/syntax.py b/src/bootstraparse/modules/syntax.py index 1d6d031..d633001 100644 --- a/src/bootstraparse/modules/syntax.py +++ b/src/bootstraparse/modules/syntax.py @@ -1,3 +1,4 @@ +""" # Dedicated module for the syntax of all the parsing # All tokens inherit a SemanticType among SemanticType, ExplicitSemanticType and EmptySemanticType # All tokens have a label, and __eq__ and __ne__ methods. @@ -8,7 +9,7 @@ # line_to_replace.parse_line('string') # returns a List of tokens parsed for replacements # imports.parse_line('string', True) # returns a List of tokens parsed for imports # any_token.create_diagram("filename") # Debugging - +""" import os from itertools import zip_longest from collections import namedtuple diff --git a/src/bootstraparse/modules/tools.py b/src/bootstraparse/modules/tools.py index e6b68b5..7fff692 100644 --- a/src/bootstraparse/modules/tools.py +++ b/src/bootstraparse/modules/tools.py @@ -1,3 +1,4 @@ +""" ############################################################################### # List of tools for testing ############################################################################### @@ -6,7 +7,7 @@ # __GLk(n) # Returns a file link n traceback objects back # __GL() # Returns a line number at current position # find_*_in_file(file) # Try to find (class, function or variable) in file and return its line number - +""" import inspect import os import re