<s> import pydoc <EOL> import sys <EOL> from bpython . pager import page <EOL> pydoc . pager = page <EOL> class _Helper ( object ) : <EOL> def __init__ ( self ) : <EOL> if hasattr ( pydoc . Helper , "<STR_LIT>" ) : <EOL> self . helper = pydoc . Helper ( sys . stdin , None ) <EOL> else : <EOL> self . helper = pydoc . Helper ( sys . stdin , sys . stdout ) <EOL> def __repr__ ( self ) : <EOL> return ( "<STR_LIT>" <EOL> "<STR_LIT>" ) <EOL> def __call__ ( self , * args , ** kwargs ) : <EOL> self . helper ( * args , ** kwargs ) <EOL> _help = _Helper ( ) </s>
