Commit 1d87f427 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

builtins -> __builtin__

parent f467dbae
import builtins
import __builtin__
from collections import defaultdict
import lib2to3.fixer_base
import lib2to3.pgen2
......@@ -22,8 +22,8 @@ def parse_trace_data(filepath):
file, lineno, id_, dividend_type, divisor_type = trace_file_match(line).groups()
lineno = int(lineno)
id_ = int(id_)
dividend_type = getattr(builtins, dividend_type)
divisor_type = getattr(builtins, divisor_type)
dividend_type = getattr(__builtin__, dividend_type)
divisor_type = getattr(__builtin__, divisor_type)
t = traces[file][lineno]
data = (dividend_type, divisor_type)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment