cleanup whitespace shuffling in several files

This commit is contained in:
Kolten Pearson 2023-05-01 00:12:17 -06:00
parent 796930654f
commit d57b977074
4 changed files with 6 additions and 7 deletions

View File

@ -56,5 +56,4 @@ __HELP:
return 0; return 0;
} }
#endif #endif

View File

@ -370,4 +370,4 @@ struct Py_<DummyModule> final: PyObject {
}; };
} // namespace pkpy } // namespace pkpy

View File

@ -5,6 +5,7 @@
#include "obj.h" #include "obj.h"
#include "repl.h" #include "repl.h"
#include "iter.h" #include "iter.h"
#include "base64.h"
#include "cffi.h" #include "cffi.h"
#include "requests.h" #include "requests.h"
#include "io.h" #include "io.h"
@ -920,6 +921,7 @@ inline void VM::post_init(){
add_module_c(this); add_module_c(this);
add_module_gc(this); add_module_gc(this);
add_module_random(this); add_module_random(this);
add_module_base64(this);
for(const char* name: {"this", "functools", "collections", "heapq", "bisect"}){ for(const char* name: {"this", "functools", "collections", "heapq", "bisect"}){
_lazy_modules[name] = kPythonLibs[name]; _lazy_modules[name] = kPythonLibs[name];
@ -1048,6 +1050,4 @@ extern "C" {
std::string json = vm->read_output(); std::string json = vm->read_output();
return strdup(json.c_str()); return strdup(json.c_str());
} }
}
}

View File

@ -434,4 +434,4 @@ const StrName __and__ = StrName::get("__and__");
const StrName __or__ = StrName::get("__or__"); const StrName __or__ = StrName::get("__or__");
const StrName __xor__ = StrName::get("__xor__"); const StrName __xor__ = StrName::get("__xor__");
} // namespace pkpy } // namespace pkpy