Skip to content

Commit df0e627

Browse files
committed
some minor changes to comments
1 parent 475d989 commit df0e627

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/react/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class VirtualFile:
1212

1313

1414
virtual_files: list[VirtualFile] = []
15-
# flat list: [dir_key, index_path, dir_key, index_path, ]
15+
# flat list: [dir_key, index_path, dir_key, index_path, ...]
1616
index_files: list[str] = []
1717

1818

@@ -32,7 +32,7 @@ def build_vfs(directory: str):
3232
virtual_files: Cleared and then extended with VirtualFile instances
3333
for each file found.
3434
index_files: Cleared and then populated with flat [dir_key, index_path]
35-
pairs corresponding to each directorys index file.
35+
pairs corresponding to each directory's index file.
3636
"""
3737
global virtual_files, index_files
3838
virtual_files.clear()
@@ -49,7 +49,7 @@ def build_vfs(directory: str):
4949
full = os.path.join(root, fn)
5050
vpath = f"/{rel_dir}/{fn}".replace('//','/')
5151

52-
# read raw bytes → latin-1 so we preserve 1:1 in the str
52+
# read raw bytes
5353
with open(full, 'rb') as f:
5454
body = f.read().decode('latin-1')
5555

0 commit comments

Comments
 (0)