Module osbot_utils.helpers.ast.nodes.Ast_Slice

Expand source code
from osbot_utils.helpers.ast.Ast_Node import Ast_Node

class Ast_Slice(Ast_Node):

    def info(self):
        return {'Ast_Slice': {'lower': self.lower  (),
                              'step' : self.node.step,
                              'upper': self.upper()}}

Classes

class Ast_Slice (node)
Expand source code
class Ast_Slice(Ast_Node):

    def info(self):
        return {'Ast_Slice': {'lower': self.lower  (),
                              'step' : self.node.step,
                              'upper': self.upper()}}

Ancestors

Methods

def info(self)
Expand source code
def info(self):
    return {'Ast_Slice': {'lower': self.lower  (),
                          'step' : self.node.step,
                          'upper': self.upper()}}