Skip to content

Commit 41df262

Browse files
committed
Fix links
1 parent 5688711 commit 41df262

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ See https://github.com/python-attrs/attrs/blob/main/.github/CONTRIBUTING.md#chan
584584
That callable must return a string and is then used for formatting the attribute by the generated `__repr__()` method.
585585
[#568](https://github.com/python-attrs/attrs/issues/568)
586586
- Added `attr.__version_info__` that can be used to reliably check the version of `attrs` and write forward- and backward-compatible code.
587-
Please check out the [section on deprecated APIs](https://www.attrs.org/en/stable/api.html#deprecated-apis) on how to use it.
587+
Please check out the [section on deprecated APIs](https://www.attrs.org/en/stable/api-attr.html#deprecated-apis) on how to use it.
588588
[#580](https://github.com/python-attrs/attrs/issues/580)
589589

590590
>

docs/glossary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ slotted classes
4343
- Slotted classes can inherit from other classes just like non-slotted classes, but some of the benefits of slotted classes are lost if you do that.
4444
If you must inherit from other classes, try to inherit only from other slotted classes.
4545
46-
- However, [it's not possible](https://docs.python.org/3/reference/datamodel.html#notes-on-using-slots) to inherit from more than one class that has attributes in `__slots__` (you will get an `TypeError: multiple bases have instance lay-out conflict`).
46+
- However, [it's not possible](https://docs.python.org/3/reference/datamodel.html#slots) to inherit from more than one class that has attributes in `__slots__` (you will get an `TypeError: multiple bases have instance lay-out conflict`).
4747
4848
- It's not possible to monkeypatch methods on slotted classes.
4949
This can feel limiting in test code, however the need to monkeypatch your own classes is usually a design smell.

0 commit comments

Comments
 (0)