close method
close
Defines the Close method.
def close(self, reason):
...
Parameter | Type | Description |
---|---|---|
reason | BlockClosingReason | The BlockClosingReason. |
close
Defines the Close method.
def close(self, head, reason):
...
Parameter | Type | Description |
---|---|---|
head | BlockSyntaxDescriptor | The BlockSyntaxDescriptor. |
reason | BlockClosingReason | The BlockClosingReason. |