New in version 2.0.
Change rational to number of flags required to notate:
abjad> from abjad.tools import durationtools
abjad> durationtools.rational_to_flag_count(Fraction(1, 32)) 3
Return nonnegative integer.
Enter search terms or a module, class or function name.