Skip to content

Commit

Permalink
fixed spelling mistake "clases" -> "classes" (PyO3#4538)
Browse files Browse the repository at this point in the history
  • Loading branch information
YesSeri authored Sep 8, 2024
1 parent 349f4c0 commit 540e9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/class.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ or [`PyRefMut`] instead of `&mut self`.
Then you can access a parent class by `self_.as_super()` as `&PyRef<Self::BaseClass>`,
or by `self_.into_super()` as `PyRef<Self::BaseClass>` (and similar for the `PyRefMut`
case). For convenience, `self_.as_ref()` can also be used to get `&Self::BaseClass`
directly; however, this approach does not let you access base clases higher in the
directly; however, this approach does not let you access base classes higher in the
inheritance hierarchy, for which you would need to chain multiple `as_super` or
`into_super` calls.

Expand Down

0 comments on commit 540e9ed

Please sign in to comment.