added exception for PULL_UP; corrected open_drain handling
added exception for PULL_UP; corrected open_drain handling

adafruit/circuitpython,adafruit/circuitpython,adafruit/circuitpython,adafruit/micropython,adafruit/circuitpython,adafruit/circuitpython,adafruit/micropython,adafruit/micropython,adafruit/micropython,adafruit/micropython,adafruit/circuitpython