-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Closed
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
Currently, the built-in module inspect
lacks a function to determine whether an object is a package or not. This is a small but useful feature.
According to the documentation, this feature should not be difficult to implement, and we should add it to the standard library:
I've tried to implement this feature and will make a PR later.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Eclips4, ZeroIntensity, Xiaokang2022 and Wulian233
Metadata
Metadata
Assignees
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement