def _set_magic_constants(self):
real_path = os.path.realpath(self._source_filename)<EOL>self._replace['<STR_LIT>'] = "<STR_LIT>" % real_path<EOL>self._replace['<STR_LIT>'] = "<STR_LIT>" % self._routine_name<EOL>self._replace['<STR_LIT>'] = "<STR_LIT>" % os.path.dirname(real_path)<EOL>
Adds magic constants to replace list.