'Iterate over public events for this org (deprecated).
:param int number: (optional), number of events to return. Default: -1
iterates over all events available.
:param str etag: (optional), ETag from a previous request to the same
endpoint
:returns: generator of :class:`Event <github3.events.Event>`\ s
Deprecated: Use ``public_events`` instead.'

def events(self, number=(-1), etag=None):

    warnings.warn(u'This    method    is    deprecated.    Please    use    ``public_events``    instead.', DeprecationWarning)
    return self.public_events(number, etag=etag)
