misleading docstr in DigitalInOut.pull
See original GitHub issueI think this docstr should say
"""Get or set the Digital Pin's input impedance."""
ps - I think this is simply a copy-n-paste mistake.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
CircuitPython Digital In & Out - Adafruit Learning System
This example shows how to use both a digital input and output. You can use a switch input with pullup resistor (built in)...
Read more >Source code for adafruit_seesaw.digitalio - CircuitPython
Source code for adafruit_seesaw.digitalio ... Built with Sphinx using a theme provided by Read the Docs. Read the Docs v: latest.
Read more >pandas docstring guide — pandas 1.5.2 documentation
A Python docstring is a string used to document a Python module, class, function or method, so programmers can understand what it does...
Read more >Python Docstrings Tutorial : Examples & Format for Pydoc ...
See Python Docstrings. Learn about the different types of docstrings & various docstring formats like Sphinx, Numpy, and Pydoc with examples now.
Read more >doctest — Test interactive Python examples — Python 3.11.1 ...
The module docstring, and all function, class and method docstrings are searched. ... doctest.run_docstring_examples(f, globs, verbose=False, name='NoName', ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Property documentation shouldn’t say
get or set
that is implied. The CircuitPython doc string for this isThe pin pull direction.
https://github.com/adafruit/circuitpython/blob/main/shared-bindings/digitalio/DigitalInOut.c#L306Oh I see, I’ve probably made that mistake in other libraries myself.