We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c79022 commit d6de873Copy full SHA for d6de873
Lib/test/support/__init__.py
@@ -2727,6 +2727,7 @@ def iter_builtin_types():
2727
# Fall back to making a best-effort guess.
2728
if hasattr(object, '__flags__'):
2729
# Look for any type object with the Py_TPFLAGS_STATIC_BUILTIN flag set.
2730
+ import datetime # noqa: F401
2731
seen = set()
2732
for cls, subs in walk_class_hierarchy(object):
2733
if cls in seen:
0 commit comments