Skip to content

Commit

Permalink
Update src/types/any.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>
  • Loading branch information
birkenfeld and mejrs authored Feb 25, 2022
1 parent 50edcb2 commit 3e8025c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ impl PyAny {
<T as PyTryFrom>::try_from(self)
}

/// Returns whether the object is the same as the other.
/// Returns whether `self` and `other` point to the same object. To compare the equality of two objects
/// (the `==` operator), use [`eq`](PyAny::eq).
///
/// This is equivalent to the Python expression `self is other`.
#[inline]
Expand Down

0 comments on commit 3e8025c

Please sign in to comment.