MCPcopy Create free account
hub / github.com/LabPy/lantz / makename

Function makename

docs/driversdoc.py:32–41  ·  view source on GitHub ↗

Join package and module with a dot.

(package, module)

Source from the content-addressed store, hash-verified

30
31
32def makename(package, module):
33 """Join package and module with a dot."""
34 # Both package and module can be None/empty.
35 if package:
36 name = package
37 if module:
38 name += '.' + module
39 else:
40 name = module
41 return name
42
43
44def write_file(name, text, opts):

Callers 3

format_directiveFunction · 0.85
create_module_fileFunction · 0.85
recurse_treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected