mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 02:27:06 +08:00
tuple tests
This commit is contained in:
@@ -813,7 +813,7 @@ class Array(Call):
|
|||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
if self.type == self.NOARRAY:
|
if self.type == self.NOARRAY:
|
||||||
temp = 'empty'
|
temp = 'noarray'
|
||||||
elif self.type == self.TUPLE:
|
elif self.type == self.TUPLE:
|
||||||
temp = 'tuple'
|
temp = 'tuple'
|
||||||
elif self.type == self.LIST:
|
elif self.type == self.LIST:
|
||||||
|
|||||||
@@ -15,3 +15,9 @@ a1, b1 = (1, "")
|
|||||||
a1.real
|
a1.real
|
||||||
#? ['lower']
|
#? ['lower']
|
||||||
b1.lower
|
b1.lower
|
||||||
|
|
||||||
|
(a2, b2) = (1, "")
|
||||||
|
#? ['imag']
|
||||||
|
a2.imag
|
||||||
|
#? ['upper']
|
||||||
|
b2.upper
|
||||||
|
|||||||
Reference in New Issue
Block a user