mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 05:41:57 +00:00
Fix potential file i/o problem with python handles.
llvm-svn: 250838
This commit is contained in:
1 parent
cffe8caed3
commit
32064024b9
4 files changed
+50
-37
No files matched your search
@@ -605,6 +605,11 @@ PythonDictionary::CreateStructuredDictionary() const
|
||||
return result;
|
||||
}
|
||||
|
||||
PythonFile::PythonFile()
|
||||
: PythonObject()
|
||||
{
|
||||
}
|
||||
|
||||
PythonFile::PythonFile(File &file, const char *mode)
|
||||
{
|
||||
Reset(file, mode);
|
||||
|
||||
Reference in new issue
Block a user