Lines Matching refs:sep
16 lambda args, sep, end, file: print(*args),
18 lambda args, sep, end, file: print(file=file, *args),
20 lambda args, sep, end, file: print(end=end, *args),
22 lambda args, sep, end, file: print(end=end, file=file, *args),
24 lambda args, sep, end, file: print(sep=sep, *args),
26 lambda args, sep, end, file: print(sep=sep, file=file, *args),
28 lambda args, sep, end, file: print(sep=sep, end=end, *args),
30 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
47 sep=NotDefined, end=NotDefined, file=NotDefined): argument
54 fn = dispatch[(sep is not NotDefined,
59 fn(args, sep, end, file)
64 def x(expected, args, sep=NotDefined, end=NotDefined): argument
68 self.check(expected, args, sep=sep, end=end)
72 self.check('', args, sep=sep, end=end, file=o)
82 x('1*2\n', (1, 2), sep='*')
84 x('a\nb\n', ('a', 'b'), sep='\n')
85 x('1.01', (1.0, 1), sep='', end='')
86 x('1*a*1.3+', (1, 'a', 1.3), sep='*', end='+')
87 x('a\n\nb\n', ('a\n', 'b'), sep='\n')
88 x('\0+ +\0\n', ('\0', ' ', '\0'), sep='+')
91 x('a\n b\n', ('a\n', 'b'), sep=None)
93 x('a\n b\n', ('a\n', 'b'), sep=None, end=None)
99 self.assertRaises(TypeError, print, '', sep=3)