gh-119180: annotationlib: Fix __all__, formatting (#122365)

This commit is contained in:
Jelle Zijlstra 2024-08-11 16:44:51 -07:00 committed by GitHub
parent 016f4b5975
commit 4534068f22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 68 additions and 33 deletions

View file

@ -24,8 +24,6 @@ Here are some of the useful functions provided by this module:
stack(), trace() - get info about frames on the stack or in a traceback
signature() - get a Signature object for the callable
get_annotations() - safely compute an object's annotations
"""
# This module is in the public domain. No warranties.
@ -142,7 +140,7 @@ __all__ = [
import abc
from annotationlib import get_annotations
from annotationlib import get_annotations # re-exported
import ast
import dis
import collections.abc