mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 13:16:52 +03:00
Merge pull request #7624 from radarhere/type_hints
This commit is contained in:
commit
fac2b6e413
|
@ -24,6 +24,8 @@
|
||||||
# See the README file for information on usage and redistribution.
|
# See the README file for information on usage and redistribution.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import atexit
|
import atexit
|
||||||
import builtins
|
import builtins
|
||||||
import io
|
import io
|
||||||
|
@ -477,8 +479,8 @@ class Image:
|
||||||
* :py:func:`~PIL.Image.frombytes`
|
* :py:func:`~PIL.Image.frombytes`
|
||||||
"""
|
"""
|
||||||
|
|
||||||
format = None
|
format: str | None = None
|
||||||
format_description = None
|
format_description: str | None = None
|
||||||
_close_exclusive_fp_after_loading = True
|
_close_exclusive_fp_after_loading = True
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user