example_0060.py
См. документацию.
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3 
4 import example_0060
5 
6 example_0060.function_with_overloaded_args(1)
7 
8 example_0060.function_with_overloaded_args('One')
9 
10 example_0060.function_with_overloaded_args(2.72)
11 
12 example_0060.function_with_overloaded_args()
13 
14 example_0060.function_with_overloaded_args(2, 'Two', 3.14)
15 
16 try:
17  example_0060.function_with_overloaded_args('Three', 3)
18 except TypeError as ex:
19  print '***', ex