Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callable docstrings #739

Open
mrocklin opened this issue Sep 13, 2016 · 1 comment
Open

Callable docstrings #739

mrocklin opened this issue Sep 13, 2016 · 1 comment

Comments

@mrocklin
Copy link

It appears that all callables have the callable docstring:

In [13]: nd.take?
Type:           callable
String form:    <dynd.nd.callable.callable object at 0x7fead0153870>
File:           ~/Software/anaconda/lib/python3.5/site-packages/dynd/nd/callable.so
Docstring:     
nd.callable(func, proto)

This holds a dynd nd.callable object, which represents a single typed
function. The particular abstraction this represents is still being
sorted out.
@insertinterestingnamehere
Copy link
Member

Yep. This is a current outstanding issue that we've discussed before. Thanks for bringing it up though. Really this stems from the fact that our callable C++ objects need to have somewhere to put metadata like names and docstrings. Once that's resolved, we can expose it to Python as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants