Now I just tried to test if I can call built-in function inside overrided function in Python3, as follows:
def print(val=0):
print("TEST") # How can I call the original `print()` here to avoid RecursionError
print(10)
But the following error thrown. It makes sense.
>>> RecursionError: maximum recursion depth exceeded
I am curious if there is ways to call an original built-in function inside its overrided function, such as sys.__builtin__.print()
I guess.
Thank you.