You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the package to write my own multiple dispatch functions.
The functions work well, but I found it is hard to deal with the documentation.
When I want to use help() function to read the documentation, I found it is hard to let users understand the usage of this function.
Is it a way to make it readable for users?
Here is my example:
from multipledispatch import dispatch
@dispatch(int)
def f(x):
'''
function for int
'''
return "this is int"
@dispatch(str)
def f(x):
'''
function for string
'''
return "this is string"
help(f)
The text was updated successfully, but these errors were encountered:
I'm using the package to write my own multiple dispatch functions.
The functions work well, but I found it is hard to deal with the documentation.
When I want to use help() function to read the documentation, I found it is hard to let users understand the usage of this function.
Is it a way to make it readable for users?
Here is my example:
The text was updated successfully, but these errors were encountered: