(self)
| 1154 | def __exit__(self, *args): |
| 1155 | self.close() |
| 1156 | def __repr__(self): |
| 1157 | if self.path: |
| 1158 | return "<AddedDllDirectory({!r})>".format(self.path) |
| 1159 | return "<AddedDllDirectory()>" |
| 1160 | |
| 1161 | def add_dll_directory(path): |
| 1162 | """Add a path to the DLL search path. |