VSCode python interpreter warning on built-in functions

Viewed 1468

I am using VSCode within a dev container but the python interpreter is raising warnings about undefined variables for built-in functions such as len, range, str, and super.

Undefined variable: 'range' Python(undefined-variable)

What could cause this? What other diagnostic information would be useful? enter image description here

Edit: Added the version I am using. enter image description here

1 Answers
Related