Cleanup logic a little. Check args first, then try to create the
object. This avoids creation + decref if bogus arguments are passed.
Showing
Please register or sign in to comment
object. This avoids creation + decref if bogus arguments are passed.