Rename NWDoc class to NWDocument

This commit is contained in:
Veronica Berglyd Olsen
2022-11-07 22:51:09 +01:00
parent 26f7bb4b32
commit 262a6c36b7
4 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -34,7 +34,7 @@ from novelwriter.common import isHandle, sha256sum
logger = logging.getLogger(__name__)
class NWDoc:
class NWDocument:
def __init__(self, theProject, theHandle):
@@ -58,7 +58,7 @@ class NWDoc:
return
def __repr__(self):
return f"<NWDoc handle={self._docHandle}>"
return f"<NWDocument handle={self._docHandle}>"
def __bool__(self):
return self._docHandle is not None and bool(self._theItem)
@@ -277,4 +277,4 @@ class NWDoc:
return
# END Class NWDoc
# END Class NWDocument