Return a callable that evaluates expr and returns it with a zero added.
(expr)
| 640 | return fn |
| 641 | |
| 642 | def zero_appender(expr): |
| 643 | """Return a callable that evaluates expr and returns it with a zero added.""" |
| 644 | return lambda ctx: deep_eval(ctx, expr) + b"\x00" |
| 645 | |
| 646 | def byte_popper(expr): |
| 647 | """Return a callable that evaluates expr and returns it with its last byte removed.""" |
no test coverage detected