MCPcopy Index your code
hub / github.com/WhyNotHugo/python-barcode / _set_attributes

Function _set_attributes

barcode/writer.py:53–55  ·  view source on GitHub ↗
(element, **attributes)

Source from the content-addressed store, hash-verified

51
52
53def _set_attributes(element, **attributes):
54 for key, value in attributes.items():
55 element.setAttribute(key, value)
56
57
58def create_svg_object(with_doctype=False) -> xml.dom.minidom.Document:

Callers 4

create_svg_objectFunction · 0.85
_initMethod · 0.85
_create_moduleMethod · 0.85
_create_textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected