def stats_for(self, dt):
<EOL>if not isinstance(dt, datetime):<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>return self._client.get('<STR_LIT>'.format(dt.strftime('<STR_LIT>')))<EOL>
Returns stats for the month containing the given datetime