Thank you, Paul.
However, this is strange - I removed and reinstalled the package, and it looks like I've got the updated file, but I'm still seeing the same error:
tc@box:~$ file /tmp/tcloop/python3.11-rpi-gpio/usr/local/lib/python3.11/site-packages/RPi/_GPIO.cpython-311-arm-linux-gnueabihf.so
/tmp/tcloop/python3.11-rpi-gpio/usr/local/lib/python3.11/site-packages/RPi/_GPIO.cpython-311-arm-linux-gnueabihf.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, stripped
tc@box:~$ python3
Python 3.11.4 (main, Aug 22 2023, 19:25:35) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import RPi.GPIO
Illegal instruction
What am I doing wrong?