(ctx: &'static Context)
| 1794 | } |
| 1795 | |
| 1796 | pub fn init(ctx: &'static Context) { |
| 1797 | PyStr::extend_class(ctx, ctx.types.str_type); |
| 1798 | ctx.types |
| 1799 | .str_type |
| 1800 | .slots |
| 1801 | .vectorcall |
| 1802 | .store(Some(vectorcall_str)); |
| 1803 | |
| 1804 | PyStrIterator::extend_class(ctx, ctx.types.str_iterator_type); |
| 1805 | } |
| 1806 | |
| 1807 | impl SliceableSequenceOp for PyStr { |
| 1808 | type Item = CodePoint; |
no test coverage detected