INNER CODE UNIT · Python

__init__

ScottfreeLLC/AlphaPy · alphapy/alias.py:105

    def __init__(self,
                 name,
                 expr,
                 replace = False):
        # code
        self.name = name;
        self.expr = expr;
        # add key with expression
        Alias.aliases[name] = expr
            
    # function __str__

    def __str__(self):
        return self.expr

    
#
# Function get_alias

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…