Skip to content

Commit b5d26f8

Browse files
dnicolodirgommers
authored andcommitted
MAINT: mark internal method as such with a leading underscore
1 parent 1d93daa commit b5d26f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mesonpy/_editable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def find_spec(
265265
if self._build_path in os.environ.get(MARKER, '').split(os.pathsep):
266266
return None
267267
namespace = False
268-
tree = self.rebuild()
268+
tree = self._rebuild()
269269
parts = fullname.split('.')
270270

271271
# look for a package
@@ -293,7 +293,7 @@ def find_spec(
293293
return None
294294

295295
@functools.lru_cache(maxsize=1)
296-
def rebuild(self) -> Node:
296+
def _rebuild(self) -> Node:
297297
# skip editable wheel lookup during rebuild: during the build
298298
# the module we are rebuilding might be imported causing a
299299
# rebuild loop.

0 commit comments

Comments
 (0)