#NEWLINE# def datetime( self , datetime = None , format = 'medium' ) : #NEWLINE# #INDENT# "Return a date and time formatted according to the given pattern.\n\n        >>> from datetime import datetime\n        >>> from pytz import timezone\n        >>> fmt = Format('en_US', tzinfo=timezone('US/Eastern'))\n        >>> fmt.datetime(datetime(2007, 4, 1, 15, 30))\n        u'Apr 1, 2007, 11:30:00 AM'\n        " #NEWLINE# return format_datetime ( datetime , self , tzinfo = self . tzinfo , locale = self . locale )