Skip to content

Commit 7a74a81

Browse files
authored
Consistent references to GitHub PRs (#320)
1 parent 1e79808 commit 7a74a81

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

python-311/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Files with thirteen lines are too scary!
177177
count.py □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ (32)
178178
```
179179

180-
See [Asynchronous Task Groups in Python 3.11](https://realpython.com/python311-exception-groups/#asynchronous-task-groups-in-python-311) and [GH-31270](https://github.com/python/cpython/pull/31270).
180+
See [Asynchronous Task Groups in Python 3.11](https://realpython.com/python311-exception-groups/#asynchronous-task-groups-in-python-311) and [gh-31270](https://github.com/python/cpython/pull/31270).
181181

182182
For a different example, have a look at [`download_peps_gather.py`](download_peps_gather.py) and [`download_peps_taskgroup.py](download_peps_taskgroup.py). For example:
183183

@@ -331,7 +331,7 @@ ExceptionTable:
331331
70 to 70 -> 72 [1] lasti
332332
```
333333

334-
See [Zero-Cost Exceptions](https://realpython.com/python311-new-features/#zero-cost-exceptions) and [GH 84403](https://github.com/python/cpython/issues/84403).
334+
See [Zero-Cost Exceptions](https://realpython.com/python311-new-features/#zero-cost-exceptions) and [gh-84403](https://github.com/python/cpython/issues/84403).
335335

336336
### Exception Annotations
337337

@@ -378,7 +378,7 @@ Handling gh-90486
378378

379379
Note that this is typically not necessary in regular code. You can use the `except ValueError as err` syntax instead.
380380

381-
See [Reference the Active Exception With `sys.exception()`](https://realpython.com/python311-exception-groups/#reference-the-active-exception-with-sysexception) and [GH 90486](https://github.com/python/cpython/issues/90486).
381+
See [Reference the Active Exception With `sys.exception()`](https://realpython.com/python311-exception-groups/#reference-the-active-exception-with-sysexception) and [gh-90486](https://github.com/python/cpython/issues/90486).
382382

383383
### Consistent Tracebacks
384384

@@ -390,7 +390,7 @@ tb_last(exc_value.__traceback__) = 'bad_calculation:13'
390390
tb_last(exc_tb) = 'bad_calculation:13'
391391
```
392392

393-
See [Reference the Active Traceback Consistently](https://realpython.com/python311-exception-groups/#reference-the-active-traceback-consistently) and [GH 89874](https://github.com/python/cpython/issues/89874).
393+
See [Reference the Active Traceback Consistently](https://realpython.com/python311-exception-groups/#reference-the-active-traceback-consistently) and [gh-89874](https://github.com/python/cpython/issues/89874).
394394

395395
### New Math Functions: `cbrt()` and `exp2()`
396396

@@ -412,7 +412,7 @@ math.exp2(16) = 65536.0
412412
math.pow(2, 16) = 65536.0
413413
```
414414

415-
See [Cube Roots and Powers of Two](https://realpython.com/python311-error-messages/#cube-roots-and-powers-of-two), [GH 88523](https://github.com/python/cpython/issues/88523) and [GH 90075](https://github.com/python/cpython/issues/90075).
415+
See [Cube Roots and Powers of Two](https://realpython.com/python311-error-messages/#cube-roots-and-powers-of-two), [gh-88523](https://github.com/python/cpython/issues/88523) and [gh-90075](https://github.com/python/cpython/issues/90075).
416416

417417
### Underscores in Fractions
418418

@@ -423,7 +423,7 @@ You can use underscores when defining fractions from strings:
423423
Fraction('6_024/1_729') = 6024/1729
424424
```
425425

426-
See [Underscores in Fractions](https://realpython.com/python311-error-messages/#underscores-in-fractions) and [GH 88424](https://github.com/python/cpython/issues/88424).
426+
See [Underscores in Fractions](https://realpython.com/python311-error-messages/#underscores-in-fractions) and [gh-88424](https://github.com/python/cpython/issues/88424).
427427

428428
### Flexible Calling of Objects: `operator.call()`
429429

@@ -437,7 +437,7 @@ The Norwegian calculator implemented in [`kalkulator.py`](kalkulator.py) uses `o
437437
11 delt på 3 = 3.6666666666666665
438438
```
439439

440-
See [Flexible Calling of Objects](https://realpython.com/python311-error-messages/#flexible-calling-of-objects) and [GH 88185](https://github.com/python/cpython/issues/88185).
440+
See [Flexible Calling of Objects](https://realpython.com/python311-error-messages/#flexible-calling-of-objects) and [gh-88185](https://github.com/python/cpython/issues/88185).
441441

442442
### Dead Batteries
443443

0 commit comments

Comments
 (0)