Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_print Namespace Reference

Classes

class  ClassWith__str__
class  TestPrint

Functions

def test_main

Variables

tuple NotDefined = object()
dictionary dispatch

Detailed Description

Test correct operation of the print function.

Function Documentation

Definition at line 114 of file test_print.py.

00114 
00115 def test_main():
00116     support.run_unittest(TestPrint)


Variable Documentation

Initial value:
00001 {
00002     (False, False, False):
00003      lambda args, sep, end, file: print(*args),
00004     (False, False, True):
00005      lambda args, sep, end, file: print(file=file, *args),
00006     (False, True,  False):
00007      lambda args, sep, end, file: print(end=end, *args),
00008     (False, True,  True):
00009      lambda args, sep, end, file: print(end=end, file=file, *args),
00010     (True,  False, False):
00011      lambda args, sep, end, file: print(sep=sep, *args),
00012     (True,  False, True):
00013      lambda args, sep, end, file: print(sep=sep, file=file, *args),
00014     (True,  True,  False):
00015      lambda args, sep, end, file: print(sep=sep, end=end, *args),
00016     (True,  True,  True):
00017      lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
00018     }

Definition at line 25 of file test_print.py.

Definition at line 18 of file test_print.py.