Skip to content

Commit

Permalink
Replaced quicktions with built-in fractions. (#1490)
Browse files Browse the repository at this point in the history
Closes #1489.
  • Loading branch information
trevorbaca committed Oct 30, 2022
1 parent 3f62fc1 commit 0009b4b
Show file tree
Hide file tree
Showing 17 changed files with 236 additions and 175 deletions.
2 changes: 1 addition & 1 deletion abjad/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from quicktions import Fraction
from fractions import Fraction

from . import (
_updatelib,
Expand Down
6 changes: 4 additions & 2 deletions abjad/bind.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ def __init__(
self._direction = direction
self._effective_context = None
self._indicator = indicator
self._synthetic_offset: _duration.Offset | None
if synthetic_offset is not None:
synthetic_offset = _duration.Offset(synthetic_offset)
self._synthetic_offset = synthetic_offset
self._synthetic_offset = _duration.Offset(synthetic_offset)
else:
self._synthetic_offset = synthetic_offset
if tag is not None:
assert isinstance(tag, str | _tag.Tag)
assert isinstance(tag, _tag.Tag), repr(tag)
Expand Down
Loading

0 comments on commit 0009b4b

Please sign in to comment.