Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sphinx auto-discovery of decorated functions for
MPCTensor
(#167)
Summary: Pull Request resolved: fairinternal/CrypTen#167 Sphinx documentation fails to auto-discover docstrings for decorated methods. For example, `MPCTensor.pad()`. This diff fixes Sphinx docstring auto-discovery by adding `functools.wraps` to the `mode` decorator for `MPCTensor`. Reviewed By: knottb Differential Revision: D18891067 fbshipit-source-id: 89e4c4a4083fa321be21ef69b73c5f2127710aba
- Loading branch information