Files
openide/python/testData/quickFixes/PyReplaceWithOldStyleUnionQuickFixTest/bitwiseOrUnionReplacedByOldSyntaxIntNoneWithOptional.py
lada.gagina 75b1ecd244 [python] Cleanup supported/unsupported versions xmls
- Drop support for python 3.5 & 3.6 in compatibility inspection
- Fix and remove some outdated tests
- Remove xmls for long-unsupported python 2.6 & 3.5
- Regenerate versions.xml
- Remove mentions of OS-specific modules

GitOrigin-RevId: 3265dd1de8a4f7a41119e10c95bb705ca5845efe
2023-11-17 18:57:31 +00:00

2 lines
149 B
Python

def foo() -> <warning descr="Python versions 2.7, 3.7, 3.8, 3.9 do not allow writing union types as X | Y">int<caret> | None</warning>:
return 42