Skip to content

Commit d710e02

Browse files
authored
Merge pull request #526 from kcl-lang/jianzs-patch-1
fix: typo
2 parents 4078e66 + d06981c commit d710e02

File tree

1 file changed

+1
-1
lines changed
  • versioned_docs/version-0.11/reference/model

1 file changed

+1
-1
lines changed

versioned_docs/version-0.11/reference/model/file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Write content to a file at the specified path. If the file doesn't exist, it wil
147147
```python
148148
import file
149149

150-
file.size("test.txt", "content")
150+
file.write("test.txt", "content")
151151
```
152152

153153
## read_env

0 commit comments

Comments
 (0)