quantifiedcode / python-anti-patterns

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

Old string notation used #4

Closed programmdesign closed 9 years ago

programmdesign commented 10 years ago

In some examples, we do use %s in strings ("Test %s".format(value)). The correct format though would be "Test {0}".format(value). Can you please check the examples and fix this?

programmdesign commented 10 years ago

Thanks. We will fix it in all docs. Thank you for the good feedback yesterday!