spydrnet.Library.add_definition
- Library.add_definition(definition, position=None)[source]
Add an existing definition to the library.
The definition must not belong to a library including this one.
- Parameters:
definition - Definition – The defintion to add to the library
position - int, (default None) – the index in the library list at which to add the definition