Skip to content
Discussion options

You must be logged in to vote

A few points of explanation:

  • MicroPython is modeled after CPython - but there are differences in implementation, and in interface.
  • The type-stubs included with the VSCode Python (or more precisely Pylance) add-in are created to be used with CPython.
  • therefore i created the Micropython-stub to override the CPython stubs with the MicroPython versions, and provide some documentation in the for of docstrings that I can correlate in an automated manner.
  • Pylance in some cases falls back to its own included fallback stubs (.vscode\extensions\ms-python.vscode-pylance-2023.12.1\dist\typeshed-fallback)
    In none of the many of such configuration I have seen, is this a shortcut to App Data, but you o…

Replies: 1 comment 2 replies

Comment options

Josverl
Feb 1, 2024
Collaborator Sponsor

You must be logged in to vote
2 replies
@brianreinhold
Comment options

@andrewleech
Comment options

andrewleech Feb 1, 2024
Collaborator Sponsor

Answer selected by brianreinhold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants