diff options
author | 2018-09-24 07:58:00 -0700 | |
---|---|---|
committer | 2018-09-24 08:01:53 -0700 | |
commit | c1e050cc75c6ced7b68a2349a012b2e5a3d04538 (patch) | |
tree | f90a0fed33d2a052ace011b2fb293d463ec32234 /tensorflow/python/autograph/pyct/compiler.py | |
parent | 64498def97852cc359209576703c7b788ba839e9 (diff) |
Rename source_map to create_source_map. Reorganize the tests to be clearer about the expected functionality.
PiperOrigin-RevId: 214266947
Diffstat (limited to 'tensorflow/python/autograph/pyct/compiler.py')
-rw-r--r-- | tensorflow/python/autograph/pyct/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/autograph/pyct/compiler.py b/tensorflow/python/autograph/pyct/compiler.py index 9e1b6bdbe8..37f3e72f6e 100644 --- a/tensorflow/python/autograph/pyct/compiler.py +++ b/tensorflow/python/autograph/pyct/compiler.py @@ -108,7 +108,7 @@ def ast_to_object(nodes, indices = (-1,) if include_source_map: - source_map = origin_info.source_map(nodes, source, f.name, indices) + source_map = origin_info.create_source_map(nodes, source, f.name, indices) # TODO(mdan): Try flush() and delete=False instead. if delete_on_exit: |