GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — Possible small mistake in the documentation of importlib.util.LazyLoader.factory · Issue #101390 · python/cpython Closed Closed Copy link Labels DescriptionThe documentation of LoazyLoader.factory in the module importlib.util says:
The problem is that there is a mixing of words classmethod and static method. And the documentation defines the static method as The source code for the method is: @classmethod def factory(cls, loader): """Construct a callable which returns the eager loader made lazy.""" cls.__check_eager_loader(loader) return lambda *args, **kwargs: cls(loader(*args, **kwargs)) So, in my opition, "a static method" in the documentation should be corrected to "a class method". I've created the PR in case the issue is right. Linked PRs
Activity
MetadataMetadataAssigneesLabelsProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |