Class ScalarNode

Synopsis

class ScalarNode(Node)

Description

No description yet.

Mentioned in

Inheritance

Ancestors: Node

Methods

__init__

Source

Lines 25-35 in lib3/yaml/nodes.py.

class ScalarNode(Node):
    id = 'scalar'
    def __init__(self, tag, value,
            start_mark=None, end_mark=None, style=None):
        self.tag = tag
        self.value = value
        self.start_mark = start_mark
        self.end_mark = end_mark
        self.style = style

class CollectionNode(Node):





Add Discussion as Guest

Log in