set built-in func_code?

Gerhard Häring gh at ghaering.de
Tue Sep 9 05:17:18 EDT 2003


Birgit Rahm wrote:
> Hello newsgroup,
> 
> I want to set the built-in func_code in my function, how can I does this in
> the correct way?

I don't think that's possible for an existing function object. 
Dynamically creating new function objects, however, certainly /is/ possible.

> My books dont tell me anything about this.

There's almost certainly a better way of achieving what you want. Why 
don't you tell us what you really want to do, i. e. what is the purpose 
of this?

-- Gerhard





More information about the Python-list mailing list