update method to use docstrings

master
Emmanuelle Vargas-Gonzalez 2018-12-10 15:07:38 -05:00
parent 50a2191805
commit 7702d435ba
1 changed files with 2 additions and 2 deletions

View File

@ -309,10 +309,10 @@ class STIXPatternVisitorForSTIX2(STIXPatternVisitor):
def create_pattern_object(pattern, module_suffix="", module_name=""):
'''
"""
Validates a pattern against the STIX Pattern grammar. Error messages are
returned in a list. The test passed if the returned list is empty.
'''
"""
start = ''
if isinstance(pattern, six.string_types):