mahmudnahid/python-tutorials — pull request #1 by Ap0gee (2013-08-30 17:09:56+00:00)
Title: Update bridge.py

What I did: Abstracted the "DrawingAPI" class by adding a constructor that requires an integer so that each instance of the class called will have a unique print based on the integer passed in.

Why I did it: This simplifies the previous code in which each instance of "DrawingAPI" class was hard coded for the unique print arguments. Now you only need to pass an integer for each instance you create.