(functions, cls, obj, init, docrevise)
| 3974 | """ |
| 3975 | |
| 3976 | def _make_global_funcs(functions, cls, obj, init, docrevise): |
| 3977 | for methodname in functions: |
| 3978 | method = getattr(cls, methodname) |
| 3979 | pl1, pl2 = getmethparlist(method) |
| 3980 | if pl1 == "": |
| 3981 | print(">>>>>>", pl1, pl2) |
| 3982 | continue |
| 3983 | defstr = __func_body.format(obj=obj, init=init, name=methodname, |
| 3984 | paramslist=pl1, argslist=pl2) |
| 3985 | exec(defstr, globals()) |
| 3986 | globals()[methodname].__doc__ = docrevise(method.__doc__) |
| 3987 | |
| 3988 | _make_global_funcs(_tg_screen_functions, _Screen, |
| 3989 | 'Turtle._screen', 'Screen()', _screen_docrevise) |
no test coverage detected