Cleanup logic a little. Check args first, then try to create the
object. This avoids creation + decref if bogus arguments are passed.
J
Jeremy Hylton committed
55087f0c351d6de453a5c95293792051d899f16b
Parent: 2fdfadf
object. This avoids creation + decref if bogus arguments are passed.