klen/python-mode — pull request #504 by wilywampa (2014-11-28 22:30:28+00:00)
Title: Replace getcurpos with getpos to support older Vim

`getcurpos()` wasn't added until 7.4.313 and using it in a fold expression causes silent errors. I replaced it with `getpos('.')` which is no different for this application. This pull request will resolve #503.