We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d44fc73 commit c19f62eCopy full SHA for c19f62e
annofabapi/util/type_util.py
@@ -3,4 +3,4 @@
3
4
def assert_noreturn(x: NoReturn) -> NoReturn:
5
"""python 3.11 以降に追加されたassert_neverの代わり"""
6
- raise AssertionError(f"Invalid value: {x!r}") # x!rは str(x)と等価
+ raise AssertionError(f"Invalid value: {x!r}") # x!rは repr(x)と等価
0 commit comments