quantifiedcode / python-anti-patterns

An open collection of Python anti-patterns and worst practices.
https://quantifiedcode.github.io/python-anti-patterns
Other
1.71k stars 249 forks source link

fixed class initializtion to use property #95

Closed cg-cnu closed 8 years ago

cg-cnu commented 8 years ago

A very small change, as discussed in #94 fixed the class initialization to use property.

And my first pull request! Yeah!!! :) Thanks @adewes

adewes commented 8 years ago

great, thanks a lot @cg-cnu :grin: