1 2 3 4 5 6 7 8 9 10 11 12 13
|
Index: pattern-820cccf33c6ac4a4f1564a273137171cfa6ab7cb/examples/04-search/02-constraint.py
===================================================================
--- pattern-820cccf33c6ac4a4f1564a273137171cfa6ab7cb.orig/examples/04-search/02-constraint.py
+++ pattern-820cccf33c6ac4a4f1564a273137171cfa6ab7cb/examples/04-search/02-constraint.py
@@ -1,7 +1,7 @@
import os, sys; sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
from pattern.search import search, Pattern, Constraint
-from pattern.en import parsetree
+from pattern.en import Sentence, parse, parsetree
# What we call a "search word" in example 01-search.py
# is actually called a constraint, because it can contain different options.
|