Skip to content

inconsistent comment and code for all_chars #13

Description

@michaelmera

Comment and code don't agree:

PyGlade/src/glade.py

Lines 183 to 184 in aa5646b

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions