Dennis Sweeney <sweeney.dennis...@gmail.com> added the comment:

To make it slightly more readable and future-proof so such things don't become 
outdated again in the future, you could use the CodeType.replace() method.

See also https://bugs.python.org/issue42422

----------
nosy: +Dennis Sweeney

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42734>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to