Antoine Pitrou wrote: > Brett Cannon <brett <at> python.org> writes: >> It is specifically there to be overridden (and as an aside, it was a >> pain to support in the C port of warnings), so it really isn't >> monkey-patching. =) > > Should we coin a new word for this? Pretty-patching? When the module docs tell you it's OK, it's just overriding the function. If the docs don't tell you to do it, it's monkey patching :) Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia ---------------------------------------------------------------
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4