Skip to content

Commit c19f62e

Browse files
committed
正しくないコメントを修正
1 parent d44fc73 commit c19f62e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

annofabapi/util/type_util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
def assert_noreturn(x: NoReturn) -> NoReturn:
55
"""python 3.11 以降に追加されたassert_neverの代わり"""
6-
raise AssertionError(f"Invalid value: {x!r}") # x!rは str(x)と等価
6+
raise AssertionError(f"Invalid value: {x!r}") # x!rは repr(x)と等価

0 commit comments

Comments
 (0)