Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls.

This commit is contained in:
Collin Winter 2007-09-01 23:34:30 +00:00
parent 2ac0121305
commit c79461b164
31 changed files with 80 additions and 86 deletions

View file

@ -307,7 +307,7 @@ The :mod:`test.test_support` module defines the following functions:
Example use::
with captured_stdout() as s:
print "hello"
print("hello")
assert s.getvalue() == "hello"