diff options
Diffstat (limited to 'examples/searchParserAppDemo.py')
-rw-r--r-- | examples/searchParserAppDemo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/searchParserAppDemo.py b/examples/searchParserAppDemo.py index 0532c1c..021428d 100644 --- a/examples/searchParserAppDemo.py +++ b/examples/searchParserAppDemo.py @@ -12,7 +12,7 @@ class FruitSearchParser(SearchQueryParser): return { p for p in products if p.startswith(word[:-1]) }
def GetQuotes(self, search_string, tmp_result):
- result = Set()
+ result = set()
# I have no idea how to use this feature...
return result
@@ -31,4 +31,4 @@ tests = """\ for t in tests:
print(t.strip())
print(parser.Parse(t))
- print('')
\ No newline at end of file + print('')
|