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 #136

Closed eclipseo closed 2 years ago

eclipseo commented 2 years ago

Fix #135

glyph commented 2 years ago

@eclipseo Would you mind responding to @moshez's feedback so we can get this merged?

cjwatson commented 2 years ago

I have marked this as "Approved", because I don't think aiming for a minimal diff should be a blocker. However, if it is possible, let's do that? I'll happily re-approve and merge if you amend the diff this way.

I made the requested fix in #138. @moshez, could you review that?