Commit cda6fbb
committed
Move Sentinel reduce callable to the module top-level
Changes in Sentinel such as swapping it with a theoretical
typing.Sentinel will affect private methods, so the callable used with
`__reduce__` must be at the top-level to be stable.1 parent add7fdb commit cda6fbb
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4158 | 4158 | | |
4159 | 4159 | | |
4160 | 4160 | | |
| 4161 | + | |
| 4162 | + | |
| 4163 | + | |
| 4164 | + | |
4161 | 4165 | | |
4162 | 4166 | | |
4163 | 4167 | | |
| |||
4253 | 4257 | | |
4254 | 4258 | | |
4255 | 4259 | | |
4256 | | - | |
4257 | | - | |
4258 | | - | |
4259 | | - | |
4260 | | - | |
4261 | | - | |
4262 | 4260 | | |
4263 | 4261 | | |
4264 | | - | |
| 4262 | + | |
4265 | 4263 | | |
4266 | | - | |
| 4264 | + | |
4267 | 4265 | | |
4268 | 4266 | | |
4269 | 4267 | | |
| |||
0 commit comments