Used for testing purposes mostly.
(self)
| 1125 | _patch_doc(cls, _kind, signature=signature) |
| 1126 | |
| 1127 | def reset(self): |
| 1128 | """Used for testing purposes mostly.""" |
| 1129 | for (cls, _kind), (osig, odoc) in self.orig.items(): |
| 1130 | obj = getattr(cls, _kind) |
| 1131 | obj.__signature__ = osig |
| 1132 | obj.__doc__ = odoc |
| 1133 | |
| 1134 | |
| 1135 | def _patch_doc(cls, kind, signature=None): |
no outgoing calls