(self, path)
| 729 | # contents of the matching .py file, or None if no source |
| 730 | # is available. |
| 731 | def _get_pyc_source(self, path): |
| 732 | # strip 'c' or 'o' from *.py[co] |
| 733 | assert path[-1:] in ('c', 'o') |
| 734 | path = path[:-1] |
| 735 | |
| 736 | try: |
| 737 | toc_entry = self._files[path] |
| 738 | except KeyError: |
| 739 | return None |
| 740 | else: |
| 741 | return _get_data(self.archive, toc_entry) |
| 742 | |
| 743 | |
| 744 | # Get the code object associated with the module specified by |
no test coverage detected