(pattern)
Factory for :class:`Matcher` instances; returns a :class:`Matcher`
        suitable for matching the supplied pattern
Factory for :class:`Matcher` instances; returns a :class:`Matcher`
        suitable for matching the supplied pattern
Factory for : class : Matcher instances ; returns a : class : Matcher suitable for matching the supplied pattern
def create(pattern):
        """Factory for :class:`Matcher` instances; returns a :class:`Matcher`
        suitable for matching the supplied pattern"""
        if "?" in pattern or "*" in pattern:
            return FNMatcher(pattern)
        else:
            return ConstantMatcher(pattern)
def create ( pattern ) : if "?" in pattern or "*" in pattern : return FNMatcher ( pattern ) else : return ConstantMatcher ( pattern )