#!/usr/bin/python
"""
runtime.py
"""
from __future__ import print_function

import sys
from typing import Any


# C code ignores this!
def log(msg, *args):
  # type: (str, *Any) -> None
  if args:
    msg = msg % args
  print(msg, file=sys.stderr)


# TODO: Do we need this?
def p_die(msg, *args):
  # type: (str, *Any) -> None
  raise RuntimeError(msg % args)

#!/usr/bin/python
"""
runtime.py
"""
from __future__ import print_function

import sys
from typing import Any


# C code ignores this!
def log(msg, *args):
  # type: (str, *Any) -> None
  if args:
    msg = msg % args
  print(msg, file=sys.stderr)


# TODO: Do we need this?
def p_die(msg, *args):
  # type: (str, *Any) -> None
  raise RuntimeError(msg % args)

#!/usr/bin/python runtime.py # C code ignores this! # type: (str, *Any) -> None # TODO: Do we need this? # type: (str, *Any) -> None