def __init__(self, stream, poll_period=<NUM_LIT:0.1>, max_read=<NUM_LIT>):
super(PollingStreamAdapter, self).__init__(stream)<EOL>self.poll_period = poll_period<EOL>self.max_read = max_read<EOL>
:param stream: Stream to poll for data.
:param float poll_period: Time (in seconds) between polls of the
    stream.
:param int max_read: The maximum number of bytes/characters to read
    from the stream at one time.