mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
PY-73246 Don't insert square brackets after classes not having free type parameters
Even if they transitively extend typing.Generic, such as the builtin str. GitOrigin-RevId: 9389ef5846e21ba5e0fed8b835beb2d458e42f13
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ebba681c85
commit
eb63148798
+8
@@ -0,0 +1,8 @@
|
||||
from typing import Iterable
|
||||
|
||||
|
||||
class StrIterable(Iterable[str]):
|
||||
pass
|
||||
|
||||
|
||||
x: StrIterable
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
from typing import Iterable
|
||||
|
||||
|
||||
class StrIterable(Iterable[str]):
|
||||
pass
|
||||
|
||||
|
||||
x: StrIter<caret>
|
||||
Reference in New Issue
Block a user