MCPcopy Create free account
hub / github.com/numpy/numpy / __init__

Method __init__

numpy/distutils/fcompiler/__init__.py:219–231  ·  view source on GitHub ↗
(self, *args, **kw)

Source from the content-addressed store, hash-verified

217 extra_f90_compile_args = []
218
219 def __init__(self, *args, **kw):
220 CCompiler.__init__(self, *args, **kw)
221 self.distutils_vars = self.distutils_vars.clone(self._environment_hook)
222 self.command_vars = self.command_vars.clone(self._environment_hook)
223 self.flag_vars = self.flag_vars.clone(self._environment_hook)
224 self.executables = self.executables.copy()
225 for e in self._executable_keys:
226 if e not in self.executables:
227 self.executables[e] = None
228
229 # Some methods depend on .customize() being called first, so
230 # this keeps track of whether that's happened yet.
231 self._is_customised = False
232
233 def __copy__(self):
234 obj = self.__new__(self.__class__)

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected