glyph / automat

Self-service finite-state machines for the programmer on the go.
MIT License
591 stars 65 forks source link

Use CodeType.replace() in copycode for Python > 3.8 #138

Closed cjwatson closed 2 years ago

cjwatson commented 2 years ago

Fix #135

I ran into this while trying to fix something else, and I noticed that the submitter of #136 hadn't replied to review comments for a couple of months. This is just a trivial extra commit on top of their PR which should make it landable.

moshez commented 2 years ago

Thanks for the patch and for the update.

This has been merged now.