(self)
| 151 | self.update(deadline) |
| 152 | |
| 153 | def __enter__(self) -> "Timeout": |
| 154 | warnings.warn( |
| 155 | "with timeout() is deprecated, use async with timeout() instead", |
| 156 | DeprecationWarning, |
| 157 | stacklevel=2, |
| 158 | ) |
| 159 | self._do_enter() |
| 160 | return self |
| 161 | |
| 162 | def __exit__( |
| 163 | self, |