(pairs)
| 18 | |
| 19 | |
| 20 | def unique_object(pairs): |
| 21 | result = {} |
| 22 | for key, value in pairs: |
| 23 | if key in result: |
| 24 | raise ValueError("duplicate JSON member") |
| 25 | result[key] = value |
| 26 | return result |
| 27 | |
| 28 | |
| 29 | def refuse_number(_): |
nothing calls this directly
no outgoing calls
no test coverage detected