Skip to content

Commit ba1cfdd

Browse files
committed
Highlight some key terms
1 parent 29f76eb commit ba1cfdd

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

slides/content/m03_syntax_primer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ print("The maximum value is", maximum)
4242

4343
- There are no semicolons `;`
4444
- There are no types
45-
- There are no braces `{ }` ... but blocks that are started by a colon `:`
45+
- There are no braces `{ }` but blocks that are started by a colon `:`
4646
- There are no parentheses `( )` around the expressions
47-
- A list - one of many [built-in types](https://docs.python.org/3/library/stdtypes.html) in Python - is initialized with square brackets `[ ]`
47+
- A list - one of many [**built-in types**](https://docs.python.org/3/library/stdtypes.html) in Python - is initialized with square brackets `[ ]`
4848
... actually, there are no arrays in Python
4949
- The `for` and `if` syntax is slightly different
5050
- Comments are written with the hashtag symbol `#`

slides/content/m04_data_types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Find them all at [docs.python.org/3/library/stdtypes.html](https://docs.python.o
1010
- Text Types
1111
- Boolean Types
1212

13-
**In Python, you do not specify types explicitly.**
14-
Although, you can have "type hints", learn more at [docs.python.org/3/library/typing.html](https://docs.python.org/3/library/typing.html)
13+
**In Python, you do not specify types explicitly.**
14+
Although, you can have [**type hints**](https://docs.python.org/3/library/typing.html).
1515

1616
---
1717

slides/content/m09_classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ if __name__ == "__main__":
9999

100100
#### Static methods
101101

102-
- A **static method** needs the `@staticmethod` annotation and omits the `self` parameter
102+
- A **static method** needs the `@staticmethod` [**decorator**](https://docs.python.org/3/glossary.html#term-decorator) and omits the `self` parameter
103103
- A static method just means that it won't access any class properties
104104

105105
#### Instantiation

slides/content/m12_zen_of_python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ help(sorted)
1717
# > reverse flag can be set to request the result in descending order.
1818
```
1919

20-
Never forget the Zen of Python.
20+
Never forget the [**Zen of Python**](https://www.python.org/dev/peps/pep-0020/).
2121

2222
```py
2323
import this

0 commit comments

Comments
 (0)