comparison contrib/showstack.py @ 32556:5f08eca8f8d3

match: move normalize() call out of matcher constructors By passing in the result of the normalize() call, we prepare for moving the special handling of patterns that always match out of the patternmatcher. It also lets us remove many of the arguments from the matcher, because they were passed only the the normalize function (we could have removed the arguments by binding them to the function instead of moving the normalize() call out).
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 19 May 2017 12:47:45 -0700
parents f2fe7b199bb4
children c9eb92fb87b7
comparison
equal deleted inserted replaced
32555:b3083be7dcb9 32556:5f08eca8f8d3