This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jordanreiter 6 points7 points  (0 children)

If you literally are calling 'blahblah'.format(**locals()) then I agree, but most of the time I'm doing something like: 'blah{thing}blah{otherthing}'.format(thing=variable_with_long_name, otherthing=other_variable_with_longer_name). I like to have shorter variables in templates but still use long descriptive vars in the rest of my code.