]> granicus.if.org Git - python/commit
Cleanup logic a little. Check args first, then try to create the
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 29 Jan 2001 22:46:35 +0000 (22:46 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 29 Jan 2001 22:46:35 +0000 (22:46 +0000)
commit55087f0c351d6de453a5c95293792051d899f16b
treeece917fd15c87c96d466be0c937021904f977199
parent2fdfadf6dd796c0a9a467c8800eaa501b0407908
Cleanup logic a little.  Check args first, then try to create the
object.  This avoids creation + decref if bogus arguments are passed.
Modules/shamodule.c