Skip to content

Commit ced3272

Browse files
committed
[reportlab] Address review comments
1 parent 2186d10 commit ced3272

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎stubs/reportlab/reportlab/lib/rl_safe_eval.pyi‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class FilteredModule:
1717
def __init__(
1818
self, m: types.ModuleType, mnames: str | tuple[str, ...] = (), mpattern: re.Pattern[str] | None = None
1919
) -> None: ...
20+
# Forwarded to the module passed to __init__; disallowed submodules raise AttributeError
2021
def __getattr__(self, a: str) -> Any: ...
2122
def __eq__(self, other: object) -> bool: ...
2223

@@ -173,7 +174,7 @@ def safer_globals(g=None): ...
173174

174175
math_log10 = math.log10
175176
__rl_undef__: Incomplete
176-
GenericAlias: Incomplete
177+
GenericAlias = types.GenericAlias
177178

178179
class __RL_SAFE_ENV__:
179180
__time_time__ = time.time

0 commit comments

Comments
 (0)