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

Method sections

numpy/distutils/npy_pkg_config.py:114–128  ·  view source on GitHub ↗

Return the section headers of the config file. Parameters ---------- None Returns ------- keys : list of str The list of section headers.

(self)

Source from the content-addressed store, hash-verified

112 self.vars = vars
113
114 def sections(self):
115 """
116 Return the section headers of the config file.
117
118 Parameters
119 ----------
120 None
121
122 Returns
123 -------
124 keys : list of str
125 The list of section headers.
126
127 """
128 return list(self._sections.keys())
129
130 def cflags(self, section="default"):
131 val = self.vars.interpolate(self._sections[section]['cflags'])

Callers 1

parse_configFunction · 0.80

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected