We should not use __str__.replace()
ffunenga opened this issue · 5 comments
ffunenga commented
Instead of:
out = out.replace('<<<???>>>', substition)
we should use something like [1] or
"%(tag_identifier)s is great!" % {'tag_identifier': 'docopt'}
[1] http://docs.python.org/2/library/string.html#template-strings
keleshev commented
👍
kblomqvist commented
Sure :)
ffunenga commented
Ok, I'll make a pull request in the near future!
kblomqvist commented
That would be most appreciated.
kblomqvist commented
Merged, #7