Skip to content

Conversation

@simonbyrne
Copy link
Member

I hit this while trying to use a PyObject

I hit this while trying to use a `PyObject`
@ararslan ararslan added needs tests Unit tests are required for this change needs news A NEWS entry is required for this change labels Dec 13, 2018
@simonbyrne
Copy link
Member Author

simonbyrne commented Dec 13, 2018

@ararslan it should already be tested. Or is there a standard way for testing "works with a callable non-Function"?

@ararslan
Copy link
Member

I dunno, just try passing something that isn't a function (like e.g. a type) and see what happen?

@ararslan ararslan removed the needs news A NEWS entry is required for this change label Dec 13, 2018
@ararslan ararslan removed the needs tests Unit tests are required for this change label Dec 14, 2018
@fredrikekre
Copy link
Member

Add

!!! compat "Julia 1.2"
    Before Julia 1.2 this signature was restricted to `f::Function`.

before the examples in the docstring?

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

Successfully merging this pull request may close these issues.

5 participants