10
60
7
8
![](https://secure.gravatar.com/avatar/e8600d16ba667cc8d7f00ddc9f254340.jpg?s=120&d=mm&r=g)
Any way to express that a dict is expected to have a key(s) but don't care about other keys?
by Brett Cannon 20 Jun '23
by Brett Cannon 20 Jun '23
20 Jun '23
17
35
5
6
6
11
15
32
1
2
1
0
![](https://secure.gravatar.com/avatar/0f393da4b8265592816178e5ff6c1c62.jpg?s=120&d=mm&r=g)
Is it possible to annotate decorators that work on both functions and methods?
by Neil Girdhar 26 Feb '23
by Neil Girdhar 26 Feb '23
26 Feb '23
2
3
![](https://secure.gravatar.com/avatar/0f393da4b8265592816178e5ff6c1c62.jpg?s=120&d=mm&r=g)
26 Feb '23
2
2