Name
r_add_module
Synopsis
r
.r_add_module(modname
)
Adds and returns a new empty module if
no module yet corresponds to name modname
in the sandbox. If the sandbox already contains a module object that
corresponds to name modname
,
r_add_module
returns that module object.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.