Skip to content
Myr

Fix broken code example in docs under Advanced Patterns

Before adoption: this commit came in with the history the project adopted, so no landing records it.

fixes #2707

authored by Peter Huss · committed by David Lord · parent bc16dbf · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:docs/advanced.rst+1 added
433 unmodified lines
434435 def __enter__(self):436 path = os.path.join(self.home, "repo.db")437 self.db = open_database(path)438 return self439440 def __exit__(self, exc_type, exc_value, tb):441 self.db.close()442
47 unmodified lines