summaryrefslogtreecommitdiff
path: root/lib/python2.7/lib2to3/fixes/fix_isinstance.pyc
blob: a021ba698e1689a01bb199c8c60c32d86bb8dc83 (plain)
ofshex dumpascii
0000 03 f3 0d 0a 31 5c fc 55 63 00 00 00 00 00 00 00 00 03 00 00 00 40 00 00 00 73 43 00 00 00 64 00 ....1\.Uc............@...sC...d.
0020 00 5a 00 00 64 01 00 64 02 00 6c 01 00 6d 02 00 5a 02 00 01 64 01 00 64 03 00 6c 03 00 6d 04 00 .Z..d..d..l..m..Z...d..d..l..m..
0040 5a 04 00 01 64 04 00 65 02 00 6a 05 00 66 01 00 64 05 00 84 00 00 83 00 00 59 5a 06 00 64 06 00 Z...d..e..j..f..d........YZ..d..
0060 53 28 07 00 00 00 73 2c 01 00 00 46 69 78 65 72 20 74 68 61 74 20 63 6c 65 61 6e 73 20 75 70 20 S(....s,...Fixer.that.cleans.up.
0080 61 20 74 75 70 6c 65 20 61 72 67 75 6d 65 6e 74 20 74 6f 20 69 73 69 6e 73 74 61 6e 63 65 20 61 a.tuple.argument.to.isinstance.a
00a0 66 74 65 72 20 74 68 65 20 74 6f 6b 65 6e 73 0a 69 6e 20 69 74 20 77 65 72 65 20 66 69 78 65 64 fter.the.tokens.in.it.were.fixed
00c0 2e 20 20 54 68 69 73 20 69 73 20 6d 61 69 6e 6c 79 20 75 73 65 64 20 74 6f 20 72 65 6d 6f 76 65 ...This.is.mainly.used.to.remove
00e0 20 64 6f 75 62 6c 65 20 6f 63 63 75 72 72 65 6e 63 65 73 20 6f 66 0a 74 6f 6b 65 6e 73 20 61 73 .double.occurrences.of.tokens.as
0100 20 61 20 6c 65 66 74 6f 76 65 72 20 6f 66 20 74 68 65 20 6c 6f 6e 67 20 2d 3e 20 69 6e 74 20 2f .a.leftover.of.the.long.->.int./
0120 20 75 6e 69 63 6f 64 65 20 2d 3e 20 73 74 72 20 63 6f 6e 76 65 72 73 69 6f 6e 2e 0a 0a 65 67 2e .unicode.->.str.conversion...eg.
0140 20 20 69 73 69 6e 73 74 61 6e 63 65 28 78 2c 20 28 69 6e 74 2c 20 6c 6f 6e 67 29 29 20 2d 3e 20 ..isinstance(x,.(int,.long)).->.
0160 69 73 69 6e 73 74 61 6e 63 65 28 78 2c 20 28 69 6e 74 2c 20 69 6e 74 29 29 0a 20 20 20 20 20 20 isinstance(x,.(int,.int)).......
0180 20 2d 3e 20 69 73 69 6e 73 74 61 6e 63 65 28 78 2c 20 69 6e 74 29 0a 69 02 00 00 00 28 01 00 00 .->.isinstance(x,.int).i....(...
01a0 00 74 0a 00 00 00 66 69 78 65 72 5f 62 61 73 65 28 01 00 00 00 74 05 00 00 00 74 6f 6b 65 6e 74 .t....fixer_base(....t....tokent
01c0 0d 00 00 00 46 69 78 49 73 69 6e 73 74 61 6e 63 65 63 00 00 00 00 00 00 00 00 01 00 00 00 42 00 ....FixIsinstancec............B.
01e0 00 00 73 23 00 00 00 65 00 00 5a 01 00 65 02 00 5a 03 00 64 00 00 5a 04 00 64 01 00 5a 05 00 64 ..s#...e..Z..e..Z..d..Z..d..Z..d
0200 02 00 84 00 00 5a 06 00 52 53 28 03 00 00 00 73 98 00 00 00 0a 20 20 20 20 70 6f 77 65 72 3c 0a .....Z..RS(....s.........power<.
0220 20 20 20 20 20 20 20 20 27 69 73 69 6e 73 74 61 6e 63 65 27 0a 20 20 20 20 20 20 20 20 74 72 61 ........'isinstance'.........tra
0240 69 6c 65 72 3c 20 27 28 27 20 61 72 67 6c 69 73 74 3c 20 61 6e 79 20 27 2c 27 20 61 74 6f 6d 3c iler<.'('.arglist<.any.','.atom<
0260 20 27 28 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 72 67 73 3d 74 65 73 74 6c 69 73 74 5f 67 .'('.............args=testlist_g
0280 65 78 70 3c 20 61 6e 79 2b 20 3e 0a 20 20 20 20 20 20 20 20 27 29 27 20 3e 20 3e 20 27 29 27 20 exp<.any+.>.........')'.>.>.')'.
02a0 3e 0a 20 20 20 20 3e 0a 20 20 20 20 69 06 00 00 00 63 03 00 00 00 0b 00 00 00 06 00 00 00 43 00 >.....>.....i....c............C.
02c0 00 00 73 55 01 00 00 74 00 00 83 00 00 7d 03 00 7c 02 00 64 01 00 19 7d 04 00 7c 04 00 6a 01 00 ..sU...t.....}..|..d...}..|..j..
02e0 7d 05 00 67 00 00 7d 06 00 74 02 00 7c 05 00 83 01 00 7d 07 00 78 aa 00 7c 07 00 44 5d a2 00 5c }..g..}..t..|.....}..x..|..D]..\
0300 02 00 7d 08 00 7d 09 00 7c 09 00 6a 03 00 74 04 00 6a 05 00 6b 02 00 72 a5 00 7c 09 00 6a 06 00 ..}..}..|..j..t..j..k..r..|..j..
0320 7c 03 00 6b 06 00 72 a5 00 7c 08 00 74 07 00 7c 05 00 83 01 00 64 02 00 18 6b 00 00 72 d7 00 7c |..k..r..|..t..|.....d...k..r..|
0340 05 00 7c 08 00 64 02 00 17 19 6a 03 00 74 04 00 6a 08 00 6b 02 00 72 d7 00 7c 07 00 6a 09 00 83 ..|..d....j..t..j..k..r..|..j...
0360 00 00 01 71 35 00 71 d7 00 71 35 00 7c 06 00 6a 0a 00 7c 09 00 83 01 00 01 7c 09 00 6a 03 00 74 ...q5.q..q5.|..j..|......|..j..t
0380 04 00 6a 05 00 6b 02 00 72 35 00 7c 03 00 6a 0b 00 7c 09 00 6a 06 00 83 01 00 01 71 35 00 71 35 ..j..k..r5.|..j..|..j......q5.q5
03a0 00 57 7c 06 00 72 01 01 7c 06 00 64 03 00 19 6a 03 00 74 04 00 6a 08 00 6b 02 00 72 01 01 7c 06 .W|..r..|..d...j..t..j..k..r..|.
03c0 00 64 03 00 3d 6e 00 00 74 07 00 7c 06 00 83 01 00 64 02 00 6b 02 00 72 40 01 7c 04 00 6a 0c 00 .d..=n..t..|.....d..k..r@.|..j..
03e0 7d 0a 00 7c 0a 00 6a 0d 00 7c 06 00 64 04 00 19 5f 0d 00 7c 0a 00 6a 0e 00 7c 06 00 64 04 00 19 }..|..j..|..d..._..|..j..|..d...
0400 83 01 00 01 6e 11 00 7c 06 00 7c 05 00 28 7c 01 00 6a 0f 00 83 00 00 01 64 00 00 53 28 05 00 00 ....n..|..|..(|..j......d..S(...
0420 00 4e 74 04 00 00 00 61 72 67 73 69 01 00 00 00 69 ff ff ff ff 69 00 00 00 00 28 10 00 00 00 74 .Nt....argsi....i....i....(....t
0440 03 00 00 00 73 65 74 74 08 00 00 00 63 68 69 6c 64 72 65 6e 74 09 00 00 00 65 6e 75 6d 65 72 61 ....sett....childrent....enumera
0460 74 65 74 04 00 00 00 74 79 70 65 52 01 00 00 00 74 04 00 00 00 4e 41 4d 45 74 05 00 00 00 76 61 tet....typeR....t....NAMEt....va
0480 6c 75 65 74 03 00 00 00 6c 65 6e 74 05 00 00 00 43 4f 4d 4d 41 74 04 00 00 00 6e 65 78 74 74 06 luet....lent....COMMAt....nextt.
04a0 00 00 00 61 70 70 65 6e 64 74 03 00 00 00 61 64 64 74 06 00 00 00 70 61 72 65 6e 74 74 06 00 00 ...appendt....addt....parentt...
04c0 00 70 72 65 66 69 78 74 07 00 00 00 72 65 70 6c 61 63 65 74 07 00 00 00 63 68 61 6e 67 65 64 28 .prefixt....replacet....changed(
04e0 0b 00 00 00 74 04 00 00 00 73 65 6c 66 74 04 00 00 00 6e 6f 64 65 74 07 00 00 00 72 65 73 75 6c ....t....selft....nodet....resul
0500 74 73 74 0e 00 00 00 6e 61 6d 65 73 5f 69 6e 73 65 72 74 65 64 74 08 00 00 00 74 65 73 74 6c 69 tst....names_insertedt....testli
0520 73 74 52 03 00 00 00 74 08 00 00 00 6e 65 77 5f 61 72 67 73 74 08 00 00 00 69 74 65 72 61 74 6f stR....t....new_argst....iterato
0540 72 74 03 00 00 00 69 64 78 74 03 00 00 00 61 72 67 74 04 00 00 00 61 74 6f 6d 28 00 00 00 00 28 rt....idxt....argt....atom(....(
0560 00 00 00 00 73 63 00 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c 64 68 6f 73 74 ....sc.../buildbot/tmp/buildhost
0580 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c /install/prebuilt/linux-x86_64/l
05a0 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 6c 69 62 32 74 6f 33 2f 66 69 78 65 73 2f 66 69 78 5f 69 ib/python2.7/lib2to3/fixes/fix_i
05c0 73 69 6e 73 74 61 6e 63 65 2e 70 79 74 09 00 00 00 74 72 61 6e 73 66 6f 72 6d 1d 00 00 00 73 2a sinstance.pyt....transform....s*
05e0 00 00 00 00 01 09 01 0a 01 09 01 06 01 0c 01 13 01 21 01 30 01 0a 01 09 02 0d 01 12 01 17 01 1c .................!.0............
0600 01 0a 01 12 01 09 01 10 01 14 02 07 01 28 07 00 00 00 74 08 00 00 00 5f 5f 6e 61 6d 65 5f 5f 74 .............(....t....__name__t
0620 0a 00 00 00 5f 5f 6d 6f 64 75 6c 65 5f 5f 74 04 00 00 00 54 72 75 65 74 0d 00 00 00 42 4d 5f 63 ....__module__t....Truet....BM_c
0640 6f 6d 70 61 74 69 62 6c 65 74 07 00 00 00 50 41 54 54 45 52 4e 74 09 00 00 00 72 75 6e 5f 6f 72 ompatiblet....PATTERNt....run_or
0660 64 65 72 52 1d 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 63 00 00 00 2f 62 75 69 derR....(....(....(....sc.../bui
0680 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 ldbot/tmp/buildhost/install/preb
06a0 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f uilt/linux-x86_64/lib/python2.7/
06c0 6c 69 62 32 74 6f 33 2f 66 69 78 65 73 2f 66 69 78 5f 69 73 69 6e 73 74 61 6e 63 65 2e 70 79 52 lib2to3/fixes/fix_isinstance.pyR
06e0 02 00 00 00 10 00 00 00 73 08 00 00 00 06 01 06 08 06 02 06 02 4e 28 07 00 00 00 74 07 00 00 00 ........s............N(....t....
0700 5f 5f 64 6f 63 5f 5f 74 00 00 00 00 52 00 00 00 00 74 0a 00 00 00 66 69 78 65 72 5f 75 74 69 6c __doc__t....R....t....fixer_util
0720 52 01 00 00 00 74 07 00 00 00 42 61 73 65 46 69 78 52 02 00 00 00 28 00 00 00 00 28 00 00 00 00 R....t....BaseFixR....(....(....
0740 28 00 00 00 00 73 63 00 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c 64 68 6f 73 (....sc.../buildbot/tmp/buildhos
0760 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f t/install/prebuilt/linux-x86_64/
0780 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 6c 69 62 32 74 6f 33 2f 66 69 78 65 73 2f 66 69 78 5f lib/python2.7/lib2to3/fixes/fix_
07a0 69 73 69 6e 73 74 61 6e 63 65 2e 70 79 74 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 0a 00 00 00 73 06 isinstance.pyt....<module>....s.
07c0 00 00 00 06 02 10 01 10 03 .........