Skip to content

Commit

Permalink
🐛 version 0.6.7
Browse files Browse the repository at this point in the history
fix repr
  • Loading branch information
RF-Tar-Railt committed Nov 19, 2024
1 parent f99bc10 commit 087997f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tarina"
version = "0.6.6"
version = "0.6.7"
description = "A collection of common utils for Arclet"
authors = [
{name = "RF-Tar-Railt", email = "[email protected]"},
Expand Down
2 changes: 1 addition & 1 deletion src/tarina/_string_c.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ cdef class String:
return self.next_index == self._len

def __repr__(self):
return f"String({self.text!r}[{self.left_index}:{self.right_index}])"
return f"String({self.text!r}[{self.left_index}:{self.next_index - self.offset}])"

def __str__(self):
return self.val()

0 comments on commit 087997f

Please sign in to comment.