On Jun 7, 2014 3:43 PM, "John" <[email protected]> wrote:
> defining several functions with the same name but different actions is a
recipe for headache and problematic code. use of get_<item>() and
set_<item>() functions should always be used. Not sure who's bright idea it
was to use the current page.text approach, but it wasnt a good idea.

See:

*
https://stackoverflow.com/questions/6618002/python-property-versus-getters-and-setters
* http://legacy.python.org/dev/peps/pep-0213/

-Jeremy
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to