Skip to content

Commit

Permalink
fix one incorrect doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mscuthbert committed Jan 2, 2024
1 parent defd61e commit 02e1db5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions music21/chord/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ class ChordTablesException(exceptions21.Music21Exception):

# This dictionary defines the pitch classes to return for the inversion of a given
# forte number. For instance (3, 11): (0, 4, 7) indicates that for the
# inverted form of Forte class 3-11 (minor/major triad) return 0, 2, 3
# inverted form of Forte class 3-11 (minor/major triad) return 0, 4, 7
# (the zero could be assumed, but it makes my brain easier to have it there).
# It is faster to store this than to recompute it every time.
inversionDefaultPitchClasses = {
Expand Down Expand Up @@ -1786,6 +1786,7 @@ def addressToForteName(address, classification='tn'):
return f'{card}-{index}{iStr}'


# noinspection GrazieInspection
def seekChordTablesAddress(c):
'''
Utility method to return the address to the chord table; used by
Expand Down Expand Up @@ -1839,7 +1840,7 @@ def seekChordTablesAddress(c):
for Chord with 0 pitches
NOTE: this was once a time-consuming operation, though it is
now quite a bit faster than before (order of 100 microseconds). Nonetheless
now quite a bit faster than before (order of 100 microseconds). Nonetheless, it
should only be run when necessary. Methods that call this should
try (as chord.Chord does) to cache the result.
Expand Down

0 comments on commit 02e1db5

Please sign in to comment.