pathex.expressions.terms.empty_word module

class EmptyWord(*init_args, **init_kwargs)[source]

Bases: pathex.expressions.terms.term.Term

This is a singleton class that represents the expression that generates the empty string.

The string representation of the empty word is the empty string:

>>> assert str(EMPTY_WORD) == ''