adafruit / Adafruit_CircuitPython_BLE

Bluetooth Low Energy (BLE) library for CircuitPython
MIT License
124 stars 57 forks source link

Fix __get__ in CPython. #69

Closed tannewt closed 4 years ago

tannewt commented 4 years ago

In CPython, obj is None when a descriptor is accessed through a class rather than an instance. MicroPython just returns the descriptor itself so we manually do it.

tannewt commented 4 years ago

Done: https://github.com/micropython/micropython/issues/5669