Open for binary reading the *resource* within *package*.
(anchor, *path_names)
| 9 | |
| 10 | |
| 11 | def open_binary(anchor, *path_names): |
| 12 | """Open for binary reading the *resource* within *package*.""" |
| 13 | return _get_resource(anchor, path_names).open('rb') |
| 14 | |
| 15 | |
| 16 | def open_text(anchor, *path_names, encoding=_MISSING, errors='strict'): |
nothing calls this directly
no test coverage detected
searching dependent graphs…