python-editor-v3 icon indicating copy to clipboard operation
python-editor-v3 copied to clipboard

Investigate class docstring missing module name in example

Open microbit-matt-hillsdon opened this issue 3 years ago • 0 comments
trafficstars

Mark raised that this docstring is missing the module name so don't just work for users:

91FDF23C-00BC-43C3-8EDB-D87FDA0279F7

On investigation, the stub has the full audio.play. What's going on here?

In addition to the apparent defect, for this autocompletion scenario it would be useful for all class docstrings (particularly enum type classes) to have an example in the same style as the function docstrings. I think this will work already if we just change the docs.

microbit-matt-hillsdon avatar May 27 '22 11:05 microbit-matt-hillsdon