qiskit/dagcircuit/dagcircuit.py
def get_3q_or_more_nodes(self):
        """Deprecated. Use threeQ_or_more_gates()."""
        warnings.warn('The method get_3q_or_more_nodes() is being replaced by'
                      ' threeQ_or_more_gates()',
                      'Returning a list of (node_id, data) tuples is also deprecated, '
                      'threeQ_or_more_gates() returns a list of DAGNodes.',
                      DeprecationWarning, 2)

        three_q_nodes = []
        for node in self._multi_graph.nodes():
            if node.type == 'op' and len(node.qargs) >= 3:
                three_q_nodes.append((node._node_id, node.data_dict))
        return three_q_nodes
def get_3q_or_more_nodes(self):
        """Deprecated. Use threeQ_or_more_gates()."""
        warnings.warn('The method get_3q_or_more_nodes() is being replaced by'
                      ' threeQ_or_more_gates()',
                      'Returning a list of (node_id, data) tuples is also deprecated, '
                      'threeQ_or_more_gates() returns a list of DAGNodes.',
                      DeprecationWarning, 2)

        three_q_nodes = []
        for node in self._multi_graph.nodes():
            if node.type == 'op' and len(node.qargs) >= 3:
                three_q_nodes.append((node._node_id, node.data_dict))
        return three_q_nodes
Deprecated. Use threeQ_or_more_gates().