Code

Ticket #4854: 4854.diff

File 4854.diff, 838 bytes (added by adamv, 7 years ago)
Line 
1Index: docs/modpython.txt
2===================================================================
3--- docs/modpython.txt  (revision 6386)
4+++ docs/modpython.txt  (working copy)
5@@ -89,16 +89,11 @@
6 
7 .. caution::
8 
9-    If you're using Windows, remember that the path will contain backslashes.
10-    This string is passed through Python's string parser twice, so you need to
11-    escape each backslash **twice**::
12+    Forward slashes are recommended even if you are using Windows::
13 
14-        PythonPath "['c:\\\\path\\\\to\\\\project'] + sys.path"
15+        PythonPath "['c:/path/to/project'] + sys.path"
16 
17-    Or, use raw strings::
18 
19-        PythonPath "[r'c:\\path\\to\\project'] + sys.path"
20-
21 You can also add directives such as ``PythonAutoReload Off`` for performance.
22 See the `mod_python documentation`_ for a full list of options.
23