Raymond Hettinger <[email protected]> added the comment:
The example is supposed to be a sketch of the overall pattern. IMO, putting concrete and useless implementations of do_work() and source() make the example less intelligible. Instead, we can add a note that the user needs to supply their own do_work() and source(). ---------- nosy: +rhettinger _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue40387> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
