Skip to content

Commit

Permalink
[doc] Fix typo: 'inheritence' -> 'inheritance' (#8551)
Browse files Browse the repository at this point in the history
This fixes a small typo: 'inheritence' -> 'inheritance'
  • Loading branch information
3n3l authored Jun 23, 2024
1 parent 55d8e36 commit f3ac30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lang/articles/advanced/data_oriented_class.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ To know more about `FieldsBuilder`, please refer to [FieldsBuilder](https://docs

## Inheritance of Data-Oriented classes

The Data-Oriented property is automatically carried along with the Python class inheritence. This implies that you can call a Taichi Kernel if any of its ancestor classes is decorated with `@ti.data_oriented`, which is shown in the example below:
The Data-Oriented property is automatically carried along with the Python class inheritance. This implies that you can call a Taichi Kernel if any of its ancestor classes is decorated with `@ti.data_oriented`, which is shown in the example below:

An example:
```python
Expand Down

0 comments on commit f3ac30f

Please sign in to comment.