Sync python.el with upstream

Upstream commit: bd9918de94d955cd541dcb7690fb886338650e95
go-func-meth-regexp also matches regular functions