Renamed 't1 | t2 | ...' to 'Union[t1, t2, ...]' according to PEP 484 (PY-15206)

This commit is contained in:
Andrey Vlasovskikh
2015-03-30 20:41:08 +03:00
parent f1d939b9e4
commit 9a03e52441
17 changed files with 44 additions and 40 deletions
@@ -1,2 +1,2 @@
variable "x"
Inferred type: str | int
Inferred type: Union[str, int]
+1 -1
View File
@@ -1 +1 @@
<html><body><small>Assigned to <code>y</code><br></small><code><br>Inferred&nbsp;type:&nbsp;<a href="psi_element://#typename#int">int</a>&nbsp;|&nbsp;<a href="psi_element://#typename#str">str</a></code></body></html>
<html><body><small>Assigned to <code>y</code><br></small><code><br>Inferred&nbsp;type:&nbsp;Union[<a href="psi_element://#typename#int">int</a>,&nbsp;<a href="psi_element://#typename#str">str</a>]</code></body></html>