Fix a few small issues. opening() is introduced later.

This commit is contained in:
Neal Norwitz 2006-02-20 22:24:44 +00:00
parent aa6acdbce6
commit 80bb3418b1
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ Motivation and Summary
Now consider this example:
with f = opening("/etc/passwd"):
with f = open("/etc/passwd"):
BLOCK1
BLOCK2
@ -781,7 +781,7 @@ Examples
indentation:
class nested(object):
def __init__(*contexts):
def __init__(self, *contexts):
self.contexts = contexts
self.entered = None