Spade

Mini Shell

Directory:~$ /proc/self/root/usr/lib/python2.7/site-packages/libpasteurize/fixes/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ //proc/self/root/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_next.pyo

�
,�]c@s{dZddlmZddlmZddlmZddlm	Z	m
Z
mZmZdZ
dejfd��YZd	S(
u?
Fixer for:
it.__next__() -> it.next().
next(it) -> it.next().
i����(ttoken(tpython_symbols(t
fixer_base(tNametCalltfind_bindingtAttru;Calls to builtin next()
possibly shadowed by global bindingtFixNextcBseZdZd�ZRS(us
    power< base=any+ trailer< '.' attr='__next__'
> any* >
    |
    power< head='next' trailer< '(' arg=any
')' > any* >
    |
    classdef< 'class' base=any+ ':'
              suite< any*
                     funcdef< 'def'
                              attr='__next__'
                              parameters< '(' NAME
')' > any+ >
                     any* > >
   
cCs�|jd�}|jd�}|jd�}|jd�}|r�|j�}|jttt|�d|j�td���|j�n%|r�|jtdd|j��ndS(Nubaseuattruheaduargtprefixunext(tgettclonetreplaceRRtunicodeRtremove(tselftnodetresultstbasetattrtheadtarg_targ((s@/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_next.pyt	transforms!
(t__name__t
__module__tPATTERNR(((s@/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_next.pyRs
N(t__doc__t
lib2to3.pgen2Rtlib2to3.pygramRtsymstlib2to3Rtlib2to3.fixer_utilRRRRtbind_warningtBaseFixR(((s@/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_next.pyt<module>s"