Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guide/src/conversions/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The table below contains the Python type and the corresponding function argument
| `slice` | - | `PySlice` |
| `type` | - | `PyType` |
| `module` | - | `PyModule` |
| `collections.abc.Buffer` | - | `PyBuffer<T>` |
| `collections.abc.Buffer` | - | `PyBuffer<T>`, `PyBufferView<T>` |
| `datetime.datetime` | `SystemTime`, `chrono::DateTime<Tz>`[^7], `chrono::NaiveDateTime`[^7] | `PyDateTime` |
| `datetime.date` | `chrono::NaiveDate`[^7] | `PyDate` |
| `datetime.time` | `chrono::NaiveTime`[^7] | `PyTime` |
Expand Down
1 change: 1 addition & 0 deletions newsfragments/5894.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `PyBufferView<T>` and `PyUntypedBufferView`, stack-allocated alternatives to `PyBuffer<T>` and `PyUntypedBuffer` with a scoped closure API that avoids heap allocation.
Loading
Loading