aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyGHDL/lsp/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/lsp/document.py b/pyGHDL/lsp/document.py
index 1ef510d52..7f1280050 100644
--- a/pyGHDL/lsp/document.py
+++ b/pyGHDL/lsp/document.py
@@ -50,7 +50,7 @@ class Document(object):
return sfe
def reload(self, source):
- """Reload the source of a document. """
+ """Reload the source of a document."""
src_bytes = source.encode(Document.encoding, "replace")
files_map_editor.Fill_Text(self._fe, ctypes.c_char_p(src_bytes), len(src_bytes))