Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove selector=None keywords from abjad.spanners.* functions #1589

Open
trevorbaca opened this issue Oct 8, 2024 · 0 comments
Open

Remove selector=None keywords from abjad.spanners.* functions #1589

trevorbaca opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@trevorbaca
Copy link
Member

OLD (before Abjad 3.20):

    abjad.spanners.beam(argument, selector=abjad.select.leaves)
    abjad.spanners.glissando(argument, selector=abjad.select.leaves)
    abjad.spanners.hairpin(argument, selector=abjad.select.leaves)
    abjad.spanners.horizontal_bracket(argument, selector=abjad.select.leaves)
    abjad.spanners.ottava(argument, selector=abjad.select.leaves)
    abjad.spanners.phrasing_slur(argument, selector=abjad.select.leaves)
    abjad.spanners.piano_pedal(argument, selector=abjad.select.leaves)
    abjad.spanners.slur(argument, selector=abjad.select.leaves)
    abjad.spanners.text_spanner(argument, selector=abjad.select.leaves)
    abjad.spanners.tie(argument, selector=abjad.select.leaves)
    abjad.spanners.trill_spanner(argument, selector=abjad.select.leaves)

NEW (beginning with Abjad 3.20):

    leaves = abjad.select.leaves(argument)

    abjad.spanners.beam(leaves)
    abjad.spanners.glissando(leaves)
    abjad.spanners.hairpin(leaves)
    abjad.spanners.horizontal_bracket(leaves)
    abjad.spanners.ottava(leaves)
    abjad.spanners.phrasing_slur(leaves)
    abjad.spanners.piano_pedal(leaves)
    abjad.spanners.slur(leaves)
    abjad.spanners.text_spanner(leaves)
    abjad.spanners.tie(leaves)
    abjad.spanners.trill_spanner(leaves)
@trevorbaca trevorbaca added this to the 3.20 milestone Oct 8, 2024
@trevorbaca trevorbaca self-assigned this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant