Skip to content

Commit 4918f32

Browse files
committed
Merge branch 'python-3.13.1-iterator-breakage' into m133-public
2 parents fdedaf1 + b87ed1e commit 4918f32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/skia/TextBlob.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ py::class_<SkTextBlob::Iter::Run>(iter, "Run")
6565

6666
iter
6767
.def(py::init<const SkTextBlob&>())
68+
.def("__iter__",
69+
[] (SkTextBlob::Iter& it) {
70+
return it;
71+
})
6872
.def("__next__",
6973
[] (SkTextBlob::Iter& it) {
7074
SkTextBlob::Iter::Run run;

0 commit comments

Comments
 (0)