Skip to content

Commit 6835f47

Browse files
committed
Update README
1 parent 5e74e07 commit 6835f47

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

python-312/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ In this example, you can see how the new implementation of f-strings allows you
140140

141141
### Static Typing Improvements
142142

143-
You'll find all static typing examples inside the [`typing/`](typing/) directory. You should install the Pyright type checker for PyPI:
143+
You'll find all static typing examples inside the [`typing/`](typing/) directory. You should install the Pyright type checker from PyPI:
144144

145145
```console
146146
$ python -m pip install pyright
@@ -150,14 +150,14 @@ You can then run type checks by running `pyright`. For some features you need to
150150

151151
#### Type Variables and Generic Classes, Functions, and Type Aliases
152152

153-
You can find comparisons between the old and the new syntax for type variables in the following files:
153+
You can find comparisons between the old and the new syntax for type variables in the following files. The new 3.12 syntax is shown in the commented part of the code.
154154

155-
- [`generic_queue.py`](typing/generic_queue.py) and [`generic_queue_311.py`](typing/generic_queue_311.py)
156-
- [`list_helpers.py`](typing/list_helpers.py) and [`list_helpers_311.py`](typing/list_helpers_311.py)
157-
- [`concatenation.py`](typing/concatenation.py) and [`concatenation_311.py`](typing/concatenation_311.py)
158-
- [`inspect_string.py`](typing/inspect_string.py) and [`inspect_string_311.py`](typing/inspect_string_311.py)
159-
- [`deck.py`](typing/deck.py) and [`deck_311.py`](typing/deck_311.py)
160-
- [`alias.py`](typing/alias.py) and [`alias_311.py`](typing/alias_311.py)
155+
- [`generic_queue.py`](typing/generic_queue.py)
156+
- [`list_helpers.py`](typing/list_helpers.py)
157+
- [`concatenation.py`](typing/concatenation.py)
158+
- [`inspect_string.py`](typing/inspect_string.py)
159+
- [`deck.py`](typing/deck.py)
160+
- [`alias.py`](typing/alias.py)
161161

162162
Additionally, [`typed_queue.py`](typing/typed_queue.py) shows the implementation of typed queues without using type variables.
163163

0 commit comments

Comments
 (0)