python-google-places icon indicating copy to clipboard operation
python-google-places copied to clipboard

Fixed constant spelling (fixes #67)

Open huntrar opened this issue 8 years ago • 1 comments

Renamed AC_TYPE_ADDDRESS to AC_TYPE_ADDRESS.

huntrar avatar Jun 05 '16 01:06 huntrar

I'm a little resistant to removed the typo, as it could potentially break somebody's code if they update to the newer version of the library. The ideal thing to do would really be to raise a warning if this deprecated constant is used and define the 'correct' one.

Here's a way to seemingly hack marking module constants as deprecated: http://erouault.blogspot.com/2014/11/hacking-python-module-constants.html, I'll need to play with it first before I implement in this library.

slimkrazy avatar Jun 28 '16 20:06 slimkrazy