Home | History | Annotate | Download | only in lib2to3

Lines Matching refs:patterns

497         Default implementation for non-wildcard patterns.
517 Default implementation for non-wildcard patterns.
527 Default implementation for non-wildcard patterns.
591 The content, if not None, must be a sequence of Patterns that
644 This has all the flexibility needed to implement patterns like:
658 content: optional sequence of subsequences of patterns;
689 """Optimize certain stacked wildcard patterns."""
862 def generate_matches(patterns, nodes):
864 Generator yielding matches for a sequence of patterns and nodes.
867 patterns: a sequence of patterns
872 count: the entire sequence of patterns matches nodes[:count];
875 if not patterns:
878 p, rest = patterns[0], patterns[1:]