parameters: (self, environment)
return_statement: return rv
docstring: Create a copy of this extension bound to another environment.
docstring_summary: Create a copy of this extension bound to another environment.
docstring_tokens: Create a copy of this extension bound to another environment .
function: def bind(self, environment):
          """Create a copy of this extension bound to another environment."""
          rv = object.__new__(self.__class__)
          rv.__dict__.update(self.__dict__)
          rv.environment = environment
          return rv
function_tokens: def bind ( self , environment ) : rv = object . __new__ ( self . __class__ ) rv . __dict__ . update ( self . __dict__ ) rv . environment = environment return rv