(arg)
| 277 | |
| 278 | |
| 279 | def size(arg): |
| 280 | if isinstance(arg, int): |
| 281 | return "%sx%s" % (arg, arg) |
| 282 | elif _is_list(arg): |
| 283 | return "%sx%s" % (arg[0], arg[1]) |
| 284 | |
| 285 | raise TypeError( |
| 286 | "Expected a size int or list, " |
| 287 | "but got %s" % type(arg).__name__) |
| 288 | |
| 289 | |
| 290 | def decode_polyline(polyline): |
nothing calls this directly
no test coverage detected