[Python-checkins] cpython (2.7): Use raw string for a docstring that uses a backslash

eric.araujo python-checkins at python.org
Mon Mar 5 16:48:28 CET 2012


http://hg.python.org/cpython/rev/e3fcc1ce09ef
changeset:   75431:e3fcc1ce09ef
branch:      2.7
parent:      75404:4b3f1decb1af
user:        Éric Araujo <merwok at netwok.org>
date:        Mon Mar 05 16:29:30 2012 +0100
summary:
  Use raw string for a docstring that uses a backslash

files:
  Lib/SimpleXMLRPCServer.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/SimpleXMLRPCServer.py b/Lib/SimpleXMLRPCServer.py
--- a/Lib/SimpleXMLRPCServer.py
+++ b/Lib/SimpleXMLRPCServer.py
@@ -1,4 +1,4 @@
-"""Simple XML-RPC Server.
+r"""Simple XML-RPC Server.
 
 This module can be used to create simple XML-RPC servers
 by creating a server and either installing functions, a

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list