I recently updated python on my mac and since then, whenever I open terminal there's the following error shown:
File "/opt/homebrew/share/man/man1/python3.1", line 1
.TH PYTHON "1"
^
SyntaxError: invalid syntax
Any idea how to resolve this issue?