We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1622a commit 51c9ec6Copy full SHA for 51c9ec6
src/typingHintProvider.ts
@@ -44,7 +44,7 @@ export class TypingHintProvider {
44
return true;
45
} else {
46
m = new RegExp(
47
- `^[ \t]*(import +typing +as +([a-zA-Z_][a-zA-Z0-9_-]+)|import +typing)`,
+ `^[ \t]*(import +typing +as +([a-zA-Z_][a-zA-Z0-9_-]*)|import +typing)`,
48
"m"
49
).exec(this.docText);
50
if (m) {
0 commit comments