<s> import sys <EOL> import os . path <EOL> sys . path . append ( os . path . dirname ( os . path . abspath ( __file__ ) ) + "<STR_LIT>" ) <EOL> print ( sys . path [ - <NUM_LIT:1> ] ) <EOL> import pydoc <EOL> import re <EOL> import windows <EOL> winprox = windows . winproxy <EOL> all_in_module = [ getattr ( winprox , x ) for x in dir ( winprox ) ] <EOL> transp = [ f for f in all_in_module if isinstance ( f , winprox . TransparentApiProxy ) ] <EOL> functions = [ f for f in all_in_module if hasattr ( f , "<STR_LIT>" ) and f not in transp ] <EOL> print ( "<STR_LIT>" ) <EOL> print ( "<STR_LIT>" ) <EOL> for f in transp : <EOL> print ( "<STR_LIT>" . format ( f . func_name , "<STR_LIT:U+002CU+0020>" . join ( [ x [ <NUM_LIT:1> ] for x in f . args ] ) ) ) <EOL> print ( "<STR_LIT>" ) <EOL> print ( "<STR_LIT>" ) <EOL> for f in functions : <EOL> doc = pydoc . text . document ( f ) <EOL> doc = re . sub ( "<STR_LIT>" , "<STR_LIT>" , doc ) <EOL> print ( "<STR_LIT>" . format ( f . func_name , doc ) ) </s>
