I just searched the files for this expression, and I don't think it's been discussed.

Where does the expression "down pat" come from as in the sentence:

"After practicing for four hours, she had the composition down pat," meaning she could play it flawlessly.

There's the possibility that I've misheard this phrase, but I'll toss it out for either correction or clarification.

WW