[Python-ideas] Should __builtins__ have some kind of pass-through print function, for debugging?
Steven D'Aprano
steve at pearwood.info
Sat Apr 28 05:36:37 EDT 2018
On Sat, Apr 28, 2018 at 04:33:32PM +0800, Ken Hilton wrote:
> Perhaps there could be a special magic method that classes could implement
> for such a function? I.e. something like this:
That doesn't help for the scenario in the original motivating example,
where there are no classes involved.
--
Steve
More information about the Python-ideas
mailing list