From 5dce9fd90e092072c9d434bed33dd09d0e5f5518 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Fri, 12 Jun 2026 08:27:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Return=20a=20copy=20in=20Library?= =?UTF-8?q?.strings=5Fdict?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- bibtexparser/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibtexparser/library.py b/bibtexparser/library.py index dfadc9c..c19e144 100644 --- a/bibtexparser/library.py +++ b/bibtexparser/library.py @@ -196,7 +196,7 @@ def strings(self) -> List[String]: @property def strings_dict(self) -> Dict[str, String]: """Dict representation of all @string blocks in the library.""" - return self._strings_by_key + return self._strings_by_key.copy() @property def entries(self) -> List[Entry]: