Determine sign character.
(is_negative, spec)
| 6327 | return sep.join(reversed(groups)) |
| 6328 | |
| 6329 | def _format_sign(is_negative, spec): |
| 6330 | """Determine sign character.""" |
| 6331 | |
| 6332 | if is_negative: |
| 6333 | return '-' |
| 6334 | elif spec['sign'] in ' +': |
| 6335 | return spec['sign'] |
| 6336 | else: |
| 6337 | return '' |
| 6338 | |
| 6339 | def _format_number(is_negative, intpart, fracpart, exp, spec): |
| 6340 | """Format a number, given the following data: |
no outgoing calls
no test coverage detected
searching dependent graphs…