X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21b020b5435339a9519963d7c79adc8b8cb17c9b..55f9f0cbc8dcf45f8d484b2f931c5c254d4404d1:/wxPython/tests/gridtest.py?ds=inline 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.