greenlet icon indicating copy to clipboard operation
greenlet copied to clipboard

Add type check for the argument of greenlet

Open DCtheTall opened this issue 6 years ago • 0 comments

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.

DCtheTall avatar Dec 15 '19 00:12 DCtheTall