idprop.get(key, default=None)
authorCampbell Barton <ideasman42@gmail.com>
Thu, 19 Nov 2009 17:04:28 +0000 (17:04 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 19 Nov 2009 17:04:28 +0000 (17:04 +0000)
commitac8ff25b2d6465e3ad2b79c359d74b4bab4985e4
tree7d3c51e1e54ea595830a601d53e7fb270d12e2c5
parent3f10b91235bdcc931bd4fd05ccf6233ddc579229
idprop.get(key, default=None)
matching pythons dict.get()

removed checks for a failed PyObject_New(), if python cant make a new object your probably going to crash anyway.
source/blender/python/generic/IDProp.c