Skip to content

Commit

Permalink
pick that nit
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jan 25, 2023
1 parent 74a5f0c commit f328679
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ impl<T> Py<T> {
unsafe { ffi::Py_None() == self.as_ptr() }
}

/// Returns whether the object is an Ellipsis, e.g. `...`.
/// Returns whether the object is Ellipsis, e.g. `...`.
///
/// This is equivalent to the Python expression `self is ...`.
pub fn is_ellipsis(&self) -> bool {
Expand Down
2 changes: 1 addition & 1 deletion src/types/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ impl PyAny {
unsafe { ffi::Py_None() == self.as_ptr() }
}

/// Returns whether the object is an Ellipsis, e.g. `...`.
/// Returns whether the object is Ellipsis, e.g. `...`.
///
/// This is equivalent to the Python expression `self is ...`.
pub fn is_ellipsis(&self) -> bool {
Expand Down

0 comments on commit f328679

Please sign in to comment.