pydata/pandas — comment on commit 15f99c26f9877261823cf77b5c0f7f5f8585464e
File: pandas/core/generic.py line 134
By wesm:

I don't think this is necessary. You will recognize that it's a Grouper if it comes in via the by argument