mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Use '|' operator instead of 'or' for union types (PY-10423)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
variable "x"
|
||||
Inferred type: one of (str, int)
|
||||
Inferred type: str | int
|
||||
|
||||
@@ -1 +1 @@
|
||||
<html><body><small>Assigned to <code>y</code><br></small><code><br>Inferred type: one of (<a href="psi_element://#typename#int">int</a>, <a href="psi_element://#typename#str">str</a>)</code></body></html>
|
||||
<html><body><small>Assigned to <code>y</code><br></small><code><br>Inferred type: <a href="psi_element://#typename#int">int</a> | <a href="psi_element://#typename#str">str</a></code></body></html>
|
||||
|
||||
Reference in New Issue
Block a user