mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-119180: annotationlib: Fix __all__, formatting (#122365)
This commit is contained in:
parent
016f4b5975
commit
4534068f22
3 changed files with 68 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue