Skip to content

Commit

Permalink
Update comments for list return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Matlock committed Oct 26, 2024
1 parent e9a33ae commit 14a3751
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types/mappingproxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ pub trait PyMappingProxyMethods<'py, 'a>: crate::sealed::Sealed {
/// Checks if the mappingproxy is empty, i.e. `len(self) == 0`.
fn is_empty(&self) -> PyResult<bool>;

/// Returns a sequence containing all keys in the mapping.
/// Returns a list containing all keys in the mapping.
fn keys(&self) -> PyResult<Bound<'py, PyList>>;

/// Returns a sequence containing all values in the mapping.
/// Returns a list containing all values in the mapping.
fn values(&self) -> PyResult<Bound<'py, PyList>>;

/// Returns a sequence of tuples of all (key, value) pairs in the mapping.
/// Returns a list of tuples of all (key, value) pairs in the mapping.
fn items(&self) -> PyResult<Bound<'py, PyList>>;

/// Returns `self` cast as a `PyMapping`.
Expand Down

0 comments on commit 14a3751

Please sign in to comment.