message: Use the standard lib ast.unparse instead of astunparse, available in Python 3.9+.
diff: @@ -21,6 +21,7 @@ from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  +import ast
  import inspect
  import linecache
  import re
  @@ -37,6 +38,11 @@ from tensorflow.python.autograph.pyct import inspect_utils
  from tensorflow.python.util import tf_inspect
  +if sys.version_info >= (3, 9):
  + # ast has an unparse function in 3.9+
  + astunparse = ast
  +
  +
  PY2_PREAMBLE = textwrap.dedent("""
  from __future__ import division
  from __future__ import print_function
  