mirror of
https://github.com/python/cpython.git
synced 2025-09-14 12:46:49 +00:00
8 lines
204 B
Python
8 lines
204 B
Python
as_resource_body = """
|
|
return ResObj_New((Handle)_self->ob_itself);
|
|
"""
|
|
|
|
f = ManualGenerator("as_Resource", as_resource_body)
|
|
f.docstring = lambda : "Return this Control as a Resource"
|
|
|
|
methods.append(f)
|