def __init__(self, pretty_name: str, strict_matching: bool, initial_parsers_to_register: List[Parser] = None):
super(ParserRegistry, self).__init__()<EOL>self.pretty_name = pretty_name<EOL>check_var(strict_matching, var_types=bool, var_name='<STR_LIT>')<EOL>self.is_strict = strict_matching<EOL>if initial_parsers_to_register is not None:<EOL><INDENT>self.register_parsers(initial_parsers_to_register)<EOL><DEDENT>
Constructor. Initializes the dictionary of parsers with the optionally provided initial_parsers, and
inits the lock that will be used for access in multithreading context.

:param initial_parsers_to_register: