Skip to content

Commit 4ecaa0c

Browse files
committed
release 0.7.1a6
1 parent 9c538a2 commit 4ecaa0c

File tree

100 files changed

+2963
-2954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+2963
-2954
lines changed

py5/__init__.py

Lines changed: 968 additions & 1022 deletions
Large diffs are not rendered by default.

py5/font.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717
# along with this library. If not, see <https://www.gnu.org/licenses/>.
1818
#
1919
# *****************************************************************************
20+
from __future__ import annotations
21+
2022
import functools
21-
from typing import overload, List # noqa
23+
from typing import overload # noqa
2224

2325
import jpype
2426
from jpype import JException, JArray, JString # noqa
@@ -305,7 +307,7 @@ def is_smooth(self) -> bool:
305307

306308
@classmethod
307309
@_return_list_str
308-
def list(cls) -> List[str]:
310+
def list(cls) -> list[str]:
309311
"""Gets a list of the fonts installed on the system.
310312
311313
Underlying Processing method: PFont.list

0 commit comments

Comments
 (0)