Skip to content

Commit d5c1f72

Browse files
committed
refactor: update comment in Color class for clarity on hex color representation
1 parent 54eee6f commit d5c1f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tppt/types/_color.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, r: str | int, g: int | None = None, b: int | None = None):
2828

2929
match len(r):
3030
case 4:
31-
# #123 #112233 と同じであることに注意
31+
# Note that #123 is the same as #112233
3232
self.r = int(r[1:2] * 2, 16)
3333
self.g = int(r[2:3] * 2, 16)
3434
self.b = int(r[3:4] * 2, 16)

0 commit comments

Comments
 (0)