Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(31325)

Unified Diff: Doc/howto/webservers.rst

Issue 2830: Copy cgi.escape() to html
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Doc/library/cgi.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Doc/howto/webservers.rst
===================================================================
--- Doc/howto/webservers.rst (revision 84355)
+++ Doc/howto/webservers.rst (working copy)
@@ -293,7 +293,7 @@
# -*- coding: UTF-8 -*-
import sys, os
- from cgi import escape
+ from html import escape
from flup.server.fcgi import WSGIServer
def app(environ, start_response):
« no previous file with comments | « no previous file | Doc/library/cgi.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+