Skip to content

Commit eba432e

Browse files
update docstring
1 parent ec956f3 commit eba432e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/openpulse/openpulse/parser.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,12 @@ def visitOpenpulseStatement(self, ctx: openpulseParser.OpenpulseStatementContext
337337

338338

339339
class CalParser(QASMVisitor[None]):
340-
"""Visit OpenQASM3 AST and pase calibration"""
340+
"""Visit OpenQASM3 AST and pase calibration
341+
342+
Attributes:
343+
permissive: should OpenPulse parsing be permissive? If True, ANTLR
344+
will attempt error recovery (although parsing may still fail elsewhere).
345+
"""
341346

342347
def __init__(self, permissive: bool = False):
343348
self.permissive = permissive

0 commit comments

Comments
 (0)