mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-25 09:48:36 +08:00
enable tests for the value type in tuple assignment from typing.Mapping[].items()
This commit is contained in:
@@ -149,16 +149,12 @@ def mapping(
|
|||||||
(key, value) = item
|
(key, value) = item
|
||||||
#? Key()
|
#? Key()
|
||||||
key
|
key
|
||||||
##? Value() --- TODO fix support for tuple assignment
|
#? Value()
|
||||||
# https://github.com/davidhalter/jedi/pull/663#issuecomment-172317854
|
|
||||||
#?
|
|
||||||
value
|
value
|
||||||
for key, value in p.items():
|
for key, value in p.items():
|
||||||
#? Key()
|
#? Key()
|
||||||
key
|
key
|
||||||
##? Value() --- TODO fix support for tuple assignment
|
#? Value()
|
||||||
# https://github.com/davidhalter/jedi/pull/663#issuecomment-172317854
|
|
||||||
#?
|
|
||||||
value
|
value
|
||||||
for key in r:
|
for key in r:
|
||||||
#? Key()
|
#? Key()
|
||||||
@@ -169,9 +165,7 @@ def mapping(
|
|||||||
for key, value in t:
|
for key, value in t:
|
||||||
#? Key()
|
#? Key()
|
||||||
key
|
key
|
||||||
##? Value() --- TODO fix support for tuple assignment
|
#? Value()
|
||||||
# https://github.com/davidhalter/jedi/pull/663#issuecomment-172317854
|
|
||||||
#?
|
|
||||||
value
|
value
|
||||||
|
|
||||||
def union(
|
def union(
|
||||||
|
|||||||
Reference in New Issue
Block a user