debian/patches/use-raw-strings-to-avoid-py3.12-warning.patch
raw| 1 | Description: Use raw strings to avoid Python 3.12 warning |
| 2 | Author: Thomas Goirand <[email protected]> |
| 3 | Forwarded: no |
| 4 | Last-Update: 2025-08-26 |
| 5 | |
| 6 | --- python-pecan-1.5.1.orig/pecan/core.py |
| 7 | +++ python-pecan-1.5.1/pecan/core.py |
| 8 | @@ -317,7 +317,7 @@ |
| 9 | return self.hooks |
| 10 | |
| 11 | def handle_hooks(self, hooks, hook_type, *args): |
| 12 | - ''' |
| 13 | + r''' |
| 14 | Processes hooks of the specified type. |
| 15 | |
| 16 | :param hook_type: The type of hook, including ``before``, ``after``, |