summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawouach <sh@defuze.org>2015-03-12 18:39:49 +0100
committerLawouach <sh@defuze.org>2015-03-12 18:39:49 +0100
commitac0ae213face99777dab9356bdff08820e462180 (patch)
treef2e38280d2cd7e6e42da3fb3f2443b689a4b7af5
parent40cddcb0dcc6669bf7904160c1b495b369e82fff (diff)
downloadcherrypy-ac0ae213face99777dab9356bdff08820e462180.tar.gz
fixed #1361
-rw-r--r--docs/tutorials.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials.rst b/docs/tutorials.rst
index 03f61e1f..ddc2c47b 100644
--- a/docs/tutorials.rst
+++ b/docs/tutorials.rst
@@ -656,7 +656,7 @@ Both are hosted by the same application server.
class StringGenerator(object):
@cherrypy.expose
def index(self):
- return file('index.html')
+ return open('index.html')
class StringGeneratorWebService(object):
exposed = True