Skip to content

Write trunc#427

Merged
yuin merged 2 commits into
yuin:masterfrom
waschik:write-trunc
Apr 6, 2023
Merged

Write trunc#427
yuin merged 2 commits into
yuin:masterfrom
waschik:write-trunc

Conversation

@waschik

@waschik waschik commented Feb 19, 2023

Copy link
Copy Markdown
Contributor

Fixes #426

Changes proposed in this pull request:

  • add truncation to flags for open with mode "w"
  • add test for testing this behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

io.open(filename, "w") should truncate file

2 participants