(self, read_context)
| 459 | write_context.write_ref(value.name) |
| 460 | |
| 461 | def read(self, read_context): |
| 462 | if read_context.read_int8() == NULL_FLAG: |
| 463 | start = None |
| 464 | else: |
| 465 | start = read_context.read_no_ref() |
| 466 | if read_context.read_int8() == NULL_FLAG: |
| 467 | stop = None |
| 468 | else: |
| 469 | stop = read_context.read_no_ref() |
| 470 | if read_context.read_int8() == NULL_FLAG: |
| 471 | step = None |
| 472 | else: |
| 473 | step = read_context.read_no_ref() |
| 474 | dtype = read_context.read_ref() |
| 475 | name = read_context.read_ref() |
| 476 | return self.type_(start, stop, step, dtype=dtype, name=name) |
| 477 | |
| 478 | |
| 479 | # Use numpy array or python array module. |
nothing calls this directly
no test coverage detected