mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix test_dis dependency on dict order.
This commit is contained in:
parent
c425a94899
commit
a108227c47
1 changed files with 7 additions and 6 deletions
|
@ -268,12 +268,13 @@ Variable names:
|
||||||
6: args
|
6: args
|
||||||
7: kwds
|
7: kwds
|
||||||
Cell variables:
|
Cell variables:
|
||||||
0: e
|
0: [edfxyz]
|
||||||
1: d
|
1: [edfxyz]
|
||||||
2: f
|
2: [edfxyz]
|
||||||
3: y
|
3: [edfxyz]
|
||||||
4: x
|
4: [edfxyz]
|
||||||
5: z"""
|
5: [edfxyz]"""
|
||||||
|
# NOTE: the order of the cell variables above depends on dictionary order!
|
||||||
|
|
||||||
co_tricky_nested_f = tricky.__func__.__code__.co_consts[1]
|
co_tricky_nested_f = tricky.__func__.__code__.co_consts[1]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue