U if@s:ddlmZddlmZddlmZGdddejZdS))token) fixer_base)Numberc@s"eZdZejZddZddZdS)FixNumliteralscCs|jdp|jddkS)N0Ll)value startswith)selfnoder B/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_numliterals.pymatchszFixNumliterals.matchcCs`|j}|ddkr |dd}n2|drR|rRtt|dkrRd|dd}t||jdS)NrrrZ0o)prefix)r r isdigitlensetrr)r r Zresultsvalr r r transforms  "zFixNumliterals.transformN)__name__ __module__ __qualname__rNUMBERZ _accept_typerrr r r rr srN)Zpgen2rrZ fixer_utilrZBaseFixrr r r rs