MCPcopy Index your code
hub / github.com/python/cpython / set_include_dirs

Method set_include_dirs

Tools/c-analyzer/distutils/ccompiler.py:222–230  ·  view source on GitHub ↗

Set the list of directories that will be searched to 'dirs' (a list of strings). Overrides any preceding calls to 'add_include_dir()'; subsequence calls to 'add_include_dir()' add to the list passed to 'set_include_dirs()'. This does not affect any list of standard

(self, dirs)

Source from the content-addressed store, hash-verified

220 self.include_dirs.append(dir)
221
222 def set_include_dirs(self, dirs):
223 """Set the list of directories that will be searched to 'dirs' (a
224 list of strings). Overrides any preceding calls to
225 'add_include_dir()'; subsequence calls to 'add_include_dir()' add
226 to the list passed to 'set_include_dirs()'. This does not affect
227 any list of standard include directories that the compiler may
228 search by default.
229 """
230 self.include_dirs = dirs[:]
231
232
233 # -- Private utility methods --------------------------------------

Callers 1

compile_c_extensionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected