bpo-33312: update Tools/gdb/libpython.py to match. (GH-6549)

(cherry picked from commit 53f67d401df40486fd0fb8fbcf9da725cd37290c)
1 file changed