Skip to content

Commit 9aeeb5d

Browse files
committed
Update paramspec.md
1 parent e13c690 commit 9aeeb5d

File tree

1 file changed

+1
-1
lines changed
  • crates/ty_python_semantic/resources/mdtest/generics/pep695

1 file changed

+1
-1
lines changed

crates/ty_python_semantic/resources/mdtest/generics/pep695/paramspec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ reveal_type(TypeVarAndParamSpec[int, ...]().attr) # revealed: (...) -> int
283283

284284
# error: [invalid-type-form] "ParamSpec `P2` is unbound"
285285
reveal_type(TypeVarAndParamSpec[int, P2]().attr) # revealed: (...) -> int
286-
# error: [invalid-type-arguments]
286+
# error: [invalid-type-arguments] "Type argument for `ParamSpec` must be"
287287
reveal_type(TypeVarAndParamSpec[int, int]().attr) # revealed: (...) -> int
288288
# error: [invalid-type-arguments] "Type argument for `ParamSpec` must be"
289289
reveal_type(TypeVarAndParamSpec[int, ()]().attr) # revealed: (...) -> int

0 commit comments

Comments
 (0)