Skip to content

Commit

Permalink
1.0.0-rc3: str/repr
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonnal committed Oct 12, 2024
1 parent 9fd1268 commit 6e1277a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pycout/cout.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,11 @@ def __lshift__(self, other: Any) -> Optional["Cout"]:
def __eq__(self, other: Any) -> bool:
return isinstance(other, Cout) and self.line == other.line

def __repr__(self) -> str:
return ""

def __str__(self) -> str:
return self.line


cout = Cout()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="pycout",
version="1.0.0-rc2",
version="1.0.0-rc3",
packages=["pycout"],
url="http://github.com/EnzoBnl/pycout",
license="Apache 2.",
Expand Down

0 comments on commit 6e1277a

Please sign in to comment.