(x)
| 105 | return x |
| 106 | |
| 107 | def num_value(x): |
| 108 | x = resolve1(x) |
| 109 | if not (isinstance(x, int) or isinstance(x, float)): |
| 110 | if STRICT: |
| 111 | raise PDFTypeError('Int or Float required: %r' % x) |
| 112 | return 0 |
| 113 | return x |
| 114 | |
| 115 | def str_value(x): |
| 116 | x = resolve1(x) |
no test coverage detected
searching dependent graphs…