We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e95392 commit 1a7efc8Copy full SHA for 1a7efc8
module.c
@@ -304,7 +304,7 @@ static PyObject *context_get(ContextData *self, PyObject *args) {
304
305
// _quickjs.Context.set_memory_limit
306
//
307
-// Retrieves a global variable from the JS context.
+// Sets the memory limit of the context.
308
static PyObject *context_set_memory_limit(ContextData *self, PyObject *args) {
309
Py_ssize_t limit;
310
if (!PyArg_ParseTuple(args, "n", &limit)) {
@@ -316,7 +316,7 @@ static PyObject *context_set_memory_limit(ContextData *self, PyObject *args) {
316
317
// _quickjs.Context.set_time_limit
318
319
+// Sets the CPU time limit of the context. This will be used in an interrupt handler.
320
static PyObject *context_set_time_limit(ContextData *self, PyObject *args) {
321
double limit;
322
if (!PyArg_ParseTuple(args, "d", &limit)) {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments