Files
openide/python/testData/pyi/inspections/accessProtectedProperty/test.py
Ilia Zakoulov 91f27d8587 PY-76629: Suppress PyProtectedMemberInspection if a member is defined in .pyi
Protected member should not be highlighted as a warning if it resolves to .pyi file.
We assume that everything in .pyi file is a public API.

GitOrigin-RevId: c8275f3e48e3cd69b1676de9b78606f28ea224c8
2024-10-28 14:57:57 +00:00

5 lines
116 B
Python

class MyClass:
def __init__(self):
self._public_api = "abacaba"
self._not_public_api = "qwerty"