From 941e3c25e61b323f41c7502eb69b279c27e154f5 Mon Sep 17 00:00:00 2001 From: Pavel Koneski Date: Thu, 12 Dec 2024 20:46:19 -0800 Subject: [PATCH] Fix typo --- Src/IronPython/Modules/_fileio.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/IronPython/Modules/_fileio.cs b/Src/IronPython/Modules/_fileio.cs index 86ffa1c9c..700a6691a 100644 --- a/Src/IronPython/Modules/_fileio.cs +++ b/Src/IronPython/Modules/_fileio.cs @@ -130,7 +130,7 @@ public FileIO(CodeContext/*!*/ context, string name, string mode = "r", bool clo if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) { // On POSIX, register the file descriptor with the file manager right after file opening _context.FileManager.GetOrAssignId(_streams); - // accoding to [documentation](https://learn.microsoft.com/en-us/dotnet/api/system.io.filestream.safefilehandle?view=net-9.0#remarks) + // according to [documentation](https://learn.microsoft.com/en-us/dotnet/api/system.io.filestream.safefilehandle?view=net-9.0#remarks) // accessing SafeFileHandle sets the current stream position to 0 // in practice it doesn't seem to be the case, but better to be sure if (this.mode == "ab+") {