Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Python/Sympy/sympy/codegen/     Datei vom 6.10.2026 mit Größe 525 B image not shown  

Quelle  abstract_nodes.py   Sprache: Python

 

"""This module provides containers for python objects that are valid
printing targets but are not a subclass of SymPy's Printable.
"
""
from __future__ import annotations


from sympy.core.containers import Tuple


class List(Tuple):
    """Represents a (frozen) (Python) list (for code printing purposes)."""
    def __eq__(self, other):
        if isinstance(other, list):
            return self == List(*other)
        else:
            return self.args == other

    def __hash__(self):
        return super().__hash__()

Messung
CHZG
849410092

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland