Skip to content

Commit 4be50ed

Browse files
committed
Update docstring to escape backslashes. If you don't want to get angry, don't read the thread on python.org.
Signed-off-by: Thorsten Kaufmann <[email protected]>
1 parent 9fb4fb1 commit 4be50ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rez/rezconfig.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
3939
Paths should use the path separator appropriate for the operating system
4040
(based on Python's os.path.sep). So for Linux paths, / should be used. On
41-
Windows \ (unescaped) should be used.
41+
Windows \\ (unescaped! A change in python 3.12 does not allow single backslashes
42+
in docstrings. Sorry.) should be used.
4243
4344
Note: The comments in this file are extracted and turned into documentation. Pay
4445
attention to the comment formatting and follow the existing style closely.

0 commit comments

Comments
 (0)