(n)
| 167 | |
| 168 | |
| 169 | def _as_int(n): |
| 170 | try: |
| 171 | round(n) |
| 172 | except TypeError: |
| 173 | raise TypeError('Plural value must be an integer, got %s' % |
| 174 | (n.__class__.__name__,)) from None |
| 175 | return _as_int2(n) |
| 176 | |
| 177 | def _as_int2(n): |
| 178 | try: |
nothing calls this directly
no test coverage detected
searching dependent graphs…