Re: [PATCH v2 2/7] Documentation/sphinx: fix Python string escapes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Benjamin Gray <bgray@xxxxxxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-doc@xxxxxxxxxxxxxxx, llvm@xxxxxxxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxx, bpf@xxxxxxxxxxxxxxx, linux-kselftest@xxxxxxxxxxxxxxx
- Subject: Re: [PATCH v2 2/7] Documentation/sphinx: fix Python string escapes
- From: Jonathan Corbet <corbet@xxxxxxx>
- Date: Tue, 12 Sep 2023 15:03:35 -0600
- Cc: Ian Abbott <abbotti@xxxxxxxxx>, H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>, Nathan Chancellor <nathan@xxxxxxxxxx>, Nick Desaulniers <ndesaulniers@xxxxxxxxxx>, Tom Rix <trix@xxxxxxxxxx>, Jan Kiszka <jan.kiszka@xxxxxxxxxxx>, Kieran Bingham <kbingham@xxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>, Mark Rutland <mark.rutland@xxxxxxx>, Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>, Jiri Olsa <jolsa@xxxxxxxxxx>, Namhyung Kim <namhyung@xxxxxxxxxx>, Ian Rogers <irogers@xxxxxxxxxx>, Adrian Hunter <adrian.hunter@xxxxxxxxx>, linux-perf-users@xxxxxxxxxxxxxxx, Todd E Brandt <todd.e.brandt@xxxxxxxxxxxxxxx>, Andrii Nakryiko <andrii@xxxxxxxxxx>, Mykola Lysenko <mykolal@xxxxxx>, Shuah Khan <shuah@xxxxxxxxxx>, Benjamin Gray <bgray@xxxxxxxxxxxxx>
- In-reply-to: <20230912060801.95533-3-bgray@linux.ibm.com>
- References: <20230912060801.95533-1-bgray@linux.ibm.com> <20230912060801.95533-3-bgray@linux.ibm.com>
Benjamin Gray <bgray@xxxxxxxxxxxxx> writes:
> Python 3.6 introduced a DeprecationWarning for invalid escape sequences.
> This is upgraded to a SyntaxWarning in Python 3.12, and will eventually
> be a syntax error.
>
> Fix these now to get ahead of it before it's an error.
>
> Signed-off-by: Benjamin Gray <bgray@xxxxxxxxxxxxx>
> ---
> Documentation/sphinx/cdomain.py | 2 +-
> Documentation/sphinx/kernel_abi.py | 2 +-
> Documentation/sphinx/kernel_feat.py | 2 +-
> Documentation/sphinx/kerneldoc.py | 2 +-
> Documentation/sphinx/maintainers_include.py | 8 ++++----
> 5 files changed, 8 insertions(+), 8 deletions(-)
I've applied this one to the docs tree, thanks.
jon
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]