Skip to content

Commit ba396ab

Browse files
committed
Small fixes
1 parent fef2ec8 commit ba396ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/cedarscript_ast_parser/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.2.1"
1+
__version__ = "0.2.2"
22

33
from .cedarscript_ast_parser import (
44
CEDARScriptASTParser, ParseError, Command,

src/cedarscript_ast_parser/cedarscript_ast_parser.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __str__(self):
7474
case RelativePositionType.AT:
7575
pass
7676
case _:
77-
result = f'{result} ({str(self.qualifier).replace('_', ' ')})'
77+
result = f'{result} ({str(self.qualifier).replace("_", " ")})'
7878
return result
7979

8080

@@ -84,7 +84,7 @@ class Segment:
8484
end: RelativeMarker
8585

8686
def __str__(self):
87-
return f"segment from {self.start} to {self.end}"
87+
return f"segment from ({self.start}) to ({self.end})"
8888

8989

9090
MarkerOrSegment: TypeAlias = Marker | Segment

0 commit comments

Comments
 (0)