Joe Strout <[EMAIL PROTECTED]> writes:
>       >>> t.match( "The rain in Spain falls mainly on the train." )
>       {'object': 'rain', 'location': 'Spain', 'subloc': 'train'}

You can compare dictionaries for equality:

>>> t.match( "The rain in Spain falls mainly on the train." ) == \
        {'object': 'rain', 'location': 'Spain', 'subloc': 'train'}
    True
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to