def _new_wire(self, source, sinks=None):
        """Create a new :py:class:`._Wire` with a unique routing key."""
        # Assign sequential routing key to new nets.
        wire = _Wire(source, sinks if sinks is not None else [], len(self._wires))
        self._wires.append(wire)

        return wire
def _new_wire ( self , source , sinks = None ) : wire = _Wire ( source , sinks if sinks is not None else [ ] , len ( self . _wires ) ) self . _wires . append ( wire ) return wire
Create a new :py:class:`._Wire` with a unique routing key.