pyds.Group

class pyds.Group(identifier, group_statements, validate_identifier=True)

Bases: pyds.Statement

Represents a PDS group statement.

Parameters
  • identifier (str)

    Identifier of the group.

  • group_statements (GroupStatements)

    Nested statements of the group.

  • validate_identifier (True or False)

    Whether identifier should be checked to see if it’s a valid identifer for a PDS group statement. Default is True.

Raises
Attributes
identifier

Identifier of the group statement. A str instance. Read-only.

statements

Nested statements of the group statement. A GroupStatements instance. Read-only.

value

Same as statements.


Special Methods

Group.__str__()

Return a PDS serialized string (str) representing the object.

Called by str().