X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21b020b5435339a9519963d7c79adc8b8cb17c9b..673e6120795e4e1f3a49157581925a5ee14bf5a9:/wxPython/tests/gridtest.py diff --git a/wxPython/tests/gridtest.py b/wxPython/tests/gridtest.py index c4988db150..8635051d5c 100644 --- a/wxPython/tests/gridtest.py +++ b/wxPython/tests/gridtest.py @@ -104,7 +104,7 @@ class MyCellEditor(wxPyGridCellEditor): elif key < 256 and key >= 0 and chr(key) in string.printable: ch = chr(key) if not evt.ShiftDown(): - ch = string.lower(ch) + ch = ch.lower() if ch is not None: # Replace the text. Other option would be to append it.