mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
Since the switch to the builtins from Typeshed we no longer have the definitions for True, False, None for PY2. We have to ignore these references via null highlighting severity as we do in the base method for PyReferenceImpl.
6 lines
189 B
Python
6 lines
189 B
Python
def func(x, y):
|
|
"""
|
|
>>> func(True, <warning descr="Unresolved reference 'True2'">True2</warning>)
|
|
"""
|
|
return True, <error descr="Unresolved reference 'True2'">True2</error>
|