From 4a991d1d89d0a9c4897ac35152a0dac313c7c683 Mon Sep 17 00:00:00 2001 From: "Colin M. Ford" Date: Wed, 5 Apr 2023 17:12:43 -0400 Subject: [PATCH] Comment corrections --- Lib/fontTools/varLib/interpolatable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/fontTools/varLib/interpolatable.py b/Lib/fontTools/varLib/interpolatable.py index 3548b81b5..fc7dca62a 100644 --- a/Lib/fontTools/varLib/interpolatable.py +++ b/Lib/fontTools/varLib/interpolatable.py @@ -249,7 +249,7 @@ def test(glyphsets, glyphs=None, names=None, ignore_missing=False): ) # m0idx should be the index of the first non-None item in allNodeTypes, - # else give it the first index of the empty list, which is likely 0 + # else give it the first index of None, which is likely 0 m0idx = allNodeTypes.index(next((x for x in allNodeTypes if x is not None), None)) # m0 is the first non-None item in allNodeTypes, or the first item if all are None m0 = allNodeTypes[m0idx] @@ -302,7 +302,7 @@ def test(glyphsets, glyphs=None, names=None, ignore_missing=False): continue # m0idx should be the index of the first non-None item in allVectors, - # else give it the first index of the empty list, which is likely 0 + # else give it the first index of None, which is likely 0 m0idx = allVectors.index(next((x for x in allVectors if x is not None), None)) # m0 is the first non-None item in allVectors, or the first item if all are None m0 = allVectors[m0idx] @@ -335,7 +335,7 @@ def test(glyphsets, glyphs=None, names=None, ignore_missing=False): break # m0idx should be the index of the first non-None item in allContourIsomorphisms, - # else give it the first index of the empty list, which is likely 0 + # else give it the first index of None, which is likely 0 m0idx = allContourIsomorphisms.index(next((x for x in allContourIsomorphisms if x is not None), None)) # m0 is the first non-None item in allContourIsomorphisms, or the first item if all are None m0 = allContourIsomorphisms[m0idx]