Try putting the lowercase "r" in front of your docstring - like this:
def multiply(a,b): r""" returns a \times b """ return a*b
I have never seen the original literal string for docstring before, but this will not allow your \ t to be interpreted as the <TAB> character.
source share