CLN: enable pylint's redefined-outer-name in pandas/core/resample.py (#49724)
CLN: enable pylint's redefined-outer-name in pandas/core/resample.py (#49724)

* Rename "method" to "mthd" in outer scope

* Change mthd to _method
pandas-dev/pandas,pandas-dev/pandas,pandas-dev/pandas,pandas-dev/pandas