Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion readchar/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class config:
"""Static class that containes Constants used throughout the libary.
"""Static class that contains Constants used throughout the library.
You can directly use the class-attributes, do not create instances of it!"""

def __new__(cls):
Expand Down
2 changes: 1 addition & 1 deletion readchar/_posix_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
PAGE_UP = "\x1b\x5b\x35\x7e"
PAGE_DOWN = "\x1b\x5b\x36\x7e"

# funcion keys
# function keys
F1 = "\x1b\x4f\x50"
F2 = "\x1b\x4f\x51"
F3 = "\x1b\x4f\x52"
Expand Down
2 changes: 1 addition & 1 deletion readchar/_win_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
PAGE_UP = "\x00\x49"
PAGE_DOWN = "\x00\x51"

# funcion keys
# function keys
F1 = "\x00\x3b"
F2 = "\x00\x3c"
F3 = "\x00\x3d"
Expand Down
4 changes: 2 additions & 2 deletions readchar/key.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flake8: noqa E401,E403
# this file exists only for backwards compatability
# it allow the use of `import readchar.key`
# this file exists only for backwards compatibility
# it allows the use of `import readchar.key`

from . import platform

Expand Down
1 change: 1 addition & 0 deletions tests/manual-test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# flake8: noqa E231
from readchar import key, readkey


Expand Down