From fb3b5bd44a943a4541c5e51e9b53c81402d7f26d Mon Sep 17 00:00:00 2001 From: Josh Hope-Collins Date: Fri, 22 Nov 2024 13:06:38 +0000 Subject: [PATCH] Restore docstring to no_annotations Co-authored-by: Connor Ward --- pyadjoint/tape.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyadjoint/tape.py b/pyadjoint/tape.py index f5af91a5..dc3efbc6 100644 --- a/pyadjoint/tape.py +++ b/pyadjoint/tape.py @@ -128,6 +128,7 @@ def __exit__(self, *args): no_annotations = stop_annotating() +"""Decorator to turn off annotation for the decorated function.""" def annotate_tape(kwargs=None):