Fix bug when the replacement template is a callable object
Fix bug when the replacement template is a callable object

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator