(self, pubDate=None)
return self.__rss_pubDate
Set or get the publication date for the content in the channel. For
        example, the New York Times publishes on a daily basis, the publication
        date flips once every 24 hours. That's when the pubDate of the channel
        changes.

        The value can either be a string which will automatically be parsed or
        a datetime.datetime object. In any case it is necessary that the value
        include timezone information.

        This will set both atom:updated and rss:lastBuildDate.

        :param pubDate: The publication date.
        :returns: Publication date as datetime.datetime
Set or get the publication date for the content in the channel. For
        example, the New York Times publishes on a daily basis, the publication
        date flips once every 24 hours. That's when the pubDate of the channel
        changes.
Set or get the publication date for the content in the channel . For example the New York Times publishes on a daily basis the publication date flips once every 24 hours . That s when the pubDate of the channel changes .
def pubDate(self, pubDate=None):
        '''Set or get the publication date for the content in the channel. For
        example, the New York Times publishes on a daily basis, the publication
        date flips once every 24 hours. That's when the pubDate of the channel
        changes.

        The value can either be a string which will automatically be parsed or
        a datetime.datetime object. In any case it is necessary that the value
        include timezone information.

        This will set both atom:updated and rss:lastBuildDate.

        :param pubDate: The publication date.
        :returns: Publication date as datetime.datetime
        '''
        if pubDate is not None:
            if isinstance(pubDate, string_types):
                pubDate = dateutil.parser.parse(pubDate)
            if not isinstance(pubDate, datetime):
                raise ValueError('Invalid datetime format')
            if pubDate.tzinfo is None:
                raise ValueError('Datetime object has no timezone info')
            self.__rss_pubDate = pubDate

        return self.__rss_pubDate
def pubDate ( self , pubDate = None ) : if pubDate is not None : if isinstance ( pubDate , string_types ) : pubDate = dateutil . parser . parse ( pubDate ) if not isinstance ( pubDate , datetime ) : raise ValueError ( 'Invalid datetime format' ) if pubDate . tzinfo is None : raise ValueError ( 'Datetime object has no timezone info' ) self . __rss_pubDate = pubDate return self . __rss_pubDate