advanced code snippet search
magicrebirth on 12/22/09
object type isinstance
1 person have marked this snippet as a favorite
>>> s = "A Simple String">>> print isinstance(s, basestring)True>>> print isinstance(s, dict)False>>>
Report this snippet
You need to login to post a comment.