File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 46
46
https://github.com/adafruit/circuitpython/releases
47
47
48
48
"""
49
+ try :
50
+ # used for typing only
51
+ from typing import Any
52
+ except ImportError :
53
+ pass
49
54
50
55
import displayio
51
56
80
85
81
86
# pylint: disable=too-few-public-methods
82
87
class ILI9341 (displayio .Display ):
83
- """ILI9341 display driver"""
88
+ """
89
+ ILI9341 display driver
84
90
85
- def __init__ (self , bus , ** kwargs ):
91
+ :param displayio.FourWire bus: bus that the display is connected to
92
+ """
93
+
94
+ def __init__ (self , bus : displayio .FourWire , ** kwargs : Any ):
86
95
super ().__init__ (bus , _INIT_SEQUENCE , ** kwargs )
Original file line number Diff line number Diff line change 26
26
# digitalio, micropython and busio. List the modules you use. Without it, the
27
27
# autodoc module docs will fail to generate with a warning.
28
28
# autodoc_mock_imports = ["digitalio", "busio"]
29
- autodoc_mock_imports = ["displayio" ]
30
29
31
30
intersphinx_mapping = {
32
31
"python" : ("https://docs.python.org/3.4" , None ),
You can’t perform that action at this time.
0 commit comments