Commit 1dbd0c0
committed
fix: use String instead of &str in FromPyObject for abi3 compatibility
`&str: FromPyObject` is gated by `#[cfg(any(Py_3_10, not(Py_LIMITED_API)))]`,
making it unavailable under abi3-py39. Use `String` which is always available.1 parent 18dcacb commit 1dbd0c0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
0 commit comments