Skip to content
Snippets Groups Projects
Commit 9ed11eec authored by Lukas Kluft's avatar Lukas Kluft
Browse files

Merge branch 'fix-typos' into 'main'

Fix typos

See merge request !49
parents 98d6f234 5ad2d057
No related branches found
No related tags found
1 merge request!49Fix typos
Pipeline #65308 passed
...@@ -322,7 +322,7 @@ book.get_page_count() ...@@ -322,7 +322,7 @@ book.get_page_count()
## OOP Key Concepts {.leftalign} ## OOP Key Concepts {.leftalign}
* Inheritence * Inheritance
* Encapsulation * Encapsulation
* Abstraction * Abstraction
* Polymorphism * Polymorphism
...@@ -764,7 +764,7 @@ Works for any numeric types! ...@@ -764,7 +764,7 @@ Works for any numeric types!
:::: ::::
## Dynamic polymorphism with inheritence ## Dynamic polymorphism with inheritance
:::{.info .small} :::{.info .small}
Also called **subtyping polymorphism**. Also called **subtyping polymorphism**.
...@@ -823,7 +823,7 @@ eBook->print_type(); // prints "eBook" ...@@ -823,7 +823,7 @@ eBook->print_type(); // prints "eBook"
::: :::
## Dynamic polymorphism without inheritence ## Dynamic polymorphism without inheritance
:::{.info .small} :::{.info .small}
Straight-forward in dynamically-typed languages (e.g. Python) Straight-forward in dynamically-typed languages (e.g. Python)
...@@ -1128,4 +1128,4 @@ def convert_wind_from_uv_to_magnitude_and_direction(ds): ...@@ -1128,4 +1128,4 @@ def convert_wind_from_uv_to_magnitude_and_direction(ds):
mag=(ds["u"]**2 + ds["v"]**2)**.5, mag=(ds["u"]**2 + ds["v"]**2)**.5,
dir=np.arctan2(ds["v"], ds["u"]) dir=np.arctan2(ds["v"], ds["u"])
).drop_vars(["u", "v"]) ).drop_vars(["u", "v"])
``` ```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment