Skip to content

Commit

Permalink
update TypeVar<"T">
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Dec 12, 2024
1 parent 8799090 commit 89e3dec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_pytypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ enum Color { RED = 0, BLUE = 1 };

typedef py::typing::Literal<26,
0x1A,
"\"hello world\"",
"b\"hello world\"",
"u\"hello world\"",
py::typing::StringLiteral("\"hello world\""),
py::typing::StringLiteral("b\"hello world\""),
py::typing::StringLiteral("u\"hello world\""),
true,
"Color.RED",
"None">
py::typing::StringLiteral("Color.RED"),
py::typing::StringLiteral("None")>
LiteralFoo;
} // namespace literals
namespace typevar {
Expand Down

0 comments on commit 89e3dec

Please sign in to comment.