]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blobdiff - paralleldisplay.py
Merge pull request #83 from tekktrik/dev/switch-typing-module
[hackapet/Adafruit_Blinka_Displayio.git] / paralleldisplay.py
index b666121126aa977e57ae0e35b0c188077c48c668..0627418233bc2b21527175aed809d93958b3e09c 100644 (file)
@@ -18,7 +18,7 @@ paralleldisplay for Blinka
 """
 
 import microcontroller
 """
 
 import microcontroller
-import _typing
+import circuitpython_typing
 
 __version__ = "0.0.0-auto.0"
 __repo__ = "https://github.com/adafruit/Adafruit_Blinka_displayio.git"
 
 __version__ = "0.0.0-auto.0"
 __repo__ = "https://github.com/adafruit/Adafruit_Blinka_displayio.git"
@@ -61,7 +61,7 @@ class ParallelBus:
         """
         raise NotImplementedError("ParallelBus reset has not been implemented yet")
 
         """
         raise NotImplementedError("ParallelBus reset has not been implemented yet")
 
-    def send(self, command: int, data: _typing.ReadableBuffer) -> None:
+    def send(self, command: int, data: circuitpython_typing.ReadableBuffer) -> None:
         """Sends the given command value followed by the full set of data. Display state,
         such as vertical scroll, set via ``send`` may or may not be reset once the code is
         done.
         """Sends the given command value followed by the full set of data. Display state,
         such as vertical scroll, set via ``send`` may or may not be reset once the code is
         done.