From 990d100e3c8d39ca26421a46ddaeecd26335e946 Mon Sep 17 00:00:00 2001 From: Lily Foote Date: Mon, 23 Dec 2024 16:04:12 +0000 Subject: [PATCH] Fix copy/paste typo in PyListMethods docs (#4818) --- src/types/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/list.rs b/src/types/list.rs index af2b557cba9..2e124c82400 100644 --- a/src/types/list.rs +++ b/src/types/list.rs @@ -18,7 +18,7 @@ use crate::types::sequence::PySequenceMethods; /// [`Py`][crate::Py] or [`Bound<'py, PyList>`][Bound]. /// /// For APIs available on `list` objects, see the [`PyListMethods`] trait which is implemented for -/// [`Bound<'py, PyDict>`][Bound]. +/// [`Bound<'py, PyList>`][Bound]. #[repr(transparent)] pub struct PyList(PyAny);