Gabriel Genellina escreveu: > En Wed, 21 Mar 2007 07:51:32 -0300, Bruno Desthuilliers > <[EMAIL PROTECTED]> escribió: > >> Paulo da Silva a écrit : >>> As a relatively inexperient >>> in python, how could I know that a 'string' is an instance of >>> basestring? >> >> By reading this newsgroup ?-) > > Or asking Python itself: > >>>> type("any string").mro() > [<type 'str'>, <type 'basestring'>, <type 'object'>] > > --Gabriel Genellina >
Good! ;-) Paulo -- http://mail.python.org/mailman/listinfo/python-list