Skip to content

Commit 33266f2

Browse files
committed
Minor changes to type hints
1 parent 555b54c commit 33266f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

maths/polynomials/legendre.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Imports de bibliothèques standard
22
from math import factorial
3-
from typing import List
43

54
# Imports de bibliothèques tierces
65
import pytest
76
from numpy.polynomial import Polynomial
87

98

10-
def legendre(n: int) -> List[float]:
9+
def legendre(n: int) -> list[float]:
1110
"""
1211
Compute the coefficients of the nth Legendre polynomial.
1312

0 commit comments

Comments
 (0)