Skip to content

Add type check for the argument of greenlet#48

Open
DCtheTall wants to merge 1 commit intodevelopit:masterfrom
DCtheTall:typecheck
Open

Add type check for the argument of greenlet#48
DCtheTall wants to merge 1 commit intodevelopit:masterfrom
DCtheTall:typecheck

Conversation

@DCtheTall
Copy link
Contributor

If the argument that is passed is not a function, after this change greenlet would throw a TypeError. greenlet would not work properly if the argument is not a function and the error would be more obscured.

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.

1 participant