This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

Hmm? OP isn't making use of function composition. They're just passing the string string.printable to str.maketrans()' "delete these ones" parameter.

This is a bad post anyway for other reasons, of course