mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-01 01:33:21 +08:00
Fix tests in Python 2
This commit is contained in:
@@ -169,6 +169,8 @@ from datetime import datetime, timedelta
|
||||
# magic methods
|
||||
# -----------------
|
||||
|
||||
# python >= 3.5
|
||||
|
||||
class C:
|
||||
def __sub__(self, other) -> int: ...
|
||||
def __radd__(self, other) -> float: ...
|
||||
|
||||
Reference in New Issue
Block a user