Commits

Thomas Heller  committed fc7ef4f

re.sub expands escape sequences in it's second argument.

  • Participants
  • Parent commits 0c9aa7e
  • Branches 2.3

Comments (0)

Files changed (1)

File Doc/tools/mkhowto

                 self.global_module_index = arg
             elif opt == "--dir":
                 if os.sep == "\\":
-                    arg = re.sub("/", "\\", arg)
+                    arg = re.sub("/", "\\\\", arg)
                 self.builddir = os.path.expanduser(arg)
             elif opt == "--paper":
                 self.paper = arg