File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
77
88
9- ## [ 3.7.2] - 2025-07-10
9+ ## [ 3.7.2] - Unreleased
1010
1111### Fixed
1212
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ def first(
242242 if expect_type is not None :
243243 if not isinstance (first , expect_type ):
244244 raise WrongType (
245- f"Query value is the wrong type; expected { expect_type } , found { first } "
245+ f"Query value is the wrong type; expected type { expect_type . __name__ !r } , found { first } "
246246 )
247247 return first
248248 else :
@@ -324,7 +324,7 @@ def last(
324324 last = self .nodes [- 1 ]
325325 if expect_type is not None and not isinstance (last , expect_type ):
326326 raise WrongType (
327- f"Query value is the wrong type; expected { expect_type } , found { last } "
327+ f"Query value is the wrong type; expected type { expect_type . __name__ !r } , found { last } "
328328 )
329329 return last
330330
You can’t perform that action at this time.
0 commit comments