Skip to content

docs: overhaul types#1526

Merged
hynek merged 10 commits into
mainfrom
docs-types
Mar 8, 2026
Merged

docs: overhaul types#1526
hynek merged 10 commits into
mainfrom
docs-types

Conversation

@hynek
Copy link
Copy Markdown
Member

@hynek hynek commented Mar 8, 2026

I’ve noticed this page is somewhat dated, let’s polish it up a bit.

hynek and others added 7 commits March 8, 2026 10:58
```
import attrs

@attrs.frozen
class C:
    x: int

i = C(42)
i.x = 23
```

/Users/hynek/FOSS/attrs/t.py
  /Users/hynek/FOSS/attrs/t.py:9:3 - error: Cannot assign to attribute
"x" for class "C"
    Attribute "x" is read-only (reportAttributeAccessIssue)
1 error, 0 warnings, 0 informations
@Tinche Tinche self-requested a review March 8, 2026 12:09
Comment thread docs/types.md Outdated
@hynek hynek added this pull request to the merge queue Mar 8, 2026
Merged via the queue into main with commit 65964fc Mar 8, 2026
17 checks passed
@hynek hynek deleted the docs-types branch March 8, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants