12 lines
359 B
Python
12 lines
359 B
Python
# This is a class in the Talon runtime, but is only used as a type in `community`. We
|
|
# stub it here as a blank class, since there are (for example) functions which
|
|
# check isinstance(some_input, Phrase), and for testing we want these tests to
|
|
# return False.
|
|
class Phrase:
|
|
pass
|
|
|
|
|
|
# grammar.vm.Phrase is also used sometimes.
|
|
class vm:
|
|
Phrase = Phrase
|