Comment and code don't agree:
|
# List of all printable ASCII characters. |
|
all_chars = [chr(i) for i in range(128)] |
This is not the set of printable ASCII characters but all ASCII characters. I don't know what the intent was, but you should fix either the code or the comment.
Note also that the string module in the standard library provides the constant printable for the set of printable characters.
Comment and code don't agree:
PyGlade/src/glade.py
Lines 183 to 184 in aa5646b
This is not the set of printable ASCII characters but all ASCII characters. I don't know what the intent was, but you should fix either the code or the comment.
Note also that the
stringmodule in the standard library provides the constantprintablefor the set of printable characters.