Single leading underscore is reserved for class-private use, so you
could more safely use "sunders" (_pretty_) or "splunders" (_pretty__).
Though this use case really isn't "class-private" -- it's more "package private", but I don't think it's even that. The idea is to allow anyone to make a class that plugs into this system -- so very much like a dunder, but without the blessing of the standard library.
Maybe a semi-convention of "trunders" would make sense?
___pretty___
-CHB
--
Christopher Barker, PhD
Python Language Consulting
- Teaching
- Scientific Software Development
- Desktop GUI and Web Development
- wxPython, numpy, scipy, Cython