Skip to content

Add type check for the argument of greenlet - #48

Open
DCtheTall wants to merge 1 commit into
developit:masterfrom
DCtheTall:typecheck
Open

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

Conversation

@DCtheTall

Copy link
Copy Markdown
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.

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

1 participant