File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,10 @@ def __init__(
113
113
) -> None :
114
114
super ().__init__ (pwm_out , min_pulse = min_pulse , max_pulse = max_pulse )
115
115
self .actuation_range = actuation_range
116
- """The physical range of motion of the servo in degrees."""
116
+ """The physical range of motion of the servo in degrees.
117
+
118
+ :type: float
119
+ """
117
120
self ._pwm = pwm_out
118
121
119
122
@property
Original file line number Diff line number Diff line change 85
85
# If this is True, todo emits a warning for each TODO entries. The default is False.
86
86
todo_emit_warnings = True
87
87
88
- # Avoid an `= None` on instance attributes with their own doc strings.
89
- # Workaround from here: https://github.com/sphinx-doc/sphinx/issues/2044#issuecomment-285888160
90
- #
91
- from sphinx .ext .autodoc import ClassLevelDocumenter , InstanceAttributeDocumenter
92
-
93
-
94
- def iad_add_directive_header (self , sig ):
95
- ClassLevelDocumenter .add_directive_header (self , sig )
96
-
97
-
98
- InstanceAttributeDocumenter .add_directive_header = iad_add_directive_header
99
-
100
88
# -- Options for HTML output ----------------------------------------------
101
89
102
90
# The theme to use for HTML and HTML Help pages. See the documentation for
You can’t perform that action at this time.
0 commit comments