as i know, the triple quoted string does cause a runtime construction, and will not be discarded, and it's a benefit of python language. here is sth. useful. _http://diveintopython.org/power_of_introspection/index.html best regard