kerncraft/kernel.py
def print_variables_info(self, output_file=sys.stdout):
        """Print variables information in human readble format."""
        table = ('    name |   type size             \n' +
                 '---------+-------------------------\n')
        for name, var_info in list(self.variables.items()):
            table += '{:>8} | {:>6} {!s:<10}\n'.format(name, var_info[0], var_info[1])
        print(prefix_indent('variables: ', table), file=output_file)
def print_variables_info(self, output_file=sys.stdout):
        table = ('    name |   type size             \n' +
                 '---------+-------------------------\n')
        for name, var_info in list(self.variables.items()):
            table += '{:>8} | {:>6} {!s:<10}\n'.format(name, var_info[0], var_info[1])
        print(prefix_indent('variables: ', table), file=output_file)
def print_variables_info ( self , output_file = sys . stdout ) : table = ( '    name |   type size             \n' + '---------+-------------------------\n' ) for name , var_info in list ( self . variables . items ( ) ) : table += '{:>8} | {:>6} {!s:<10}\n' . format ( name , var_info [ 0 ] , var_info [ 1 ] ) print ( prefix_indent ( 'variables: ' , table ) , file = output_file )
Print variables information in human readble format.
Print variables information in human readble format .