blob: 83e4f694aeaaa866b8535490e239f1088202d2ad [file] [log] [blame]
Serhiy Storchaka1009bf12015-04-03 23:53:51 +03001/*[clinic input]
2preserve
3[clinic start generated code]*/
4
5PyDoc_STRVAR(builtin_abs__doc__,
6"abs($module, x, /)\n"
7"--\n"
8"\n"
9"Return the absolute value of the argument.");
10
11#define BUILTIN_ABS_METHODDEF \
12 {"abs", (PyCFunction)builtin_abs, METH_O, builtin_abs__doc__},
13
14PyDoc_STRVAR(builtin_all__doc__,
15"all($module, iterable, /)\n"
16"--\n"
17"\n"
18"Return True if bool(x) is True for all values x in the iterable.\n"
19"\n"
20"If the iterable is empty, return True.");
21
22#define BUILTIN_ALL_METHODDEF \
23 {"all", (PyCFunction)builtin_all, METH_O, builtin_all__doc__},
24
25PyDoc_STRVAR(builtin_any__doc__,
26"any($module, iterable, /)\n"
27"--\n"
28"\n"
29"Return True if bool(x) is True for any x in the iterable.\n"
30"\n"
31"If the iterable is empty, return False.");
32
33#define BUILTIN_ANY_METHODDEF \
34 {"any", (PyCFunction)builtin_any, METH_O, builtin_any__doc__},
35
36PyDoc_STRVAR(builtin_ascii__doc__,
37"ascii($module, obj, /)\n"
38"--\n"
39"\n"
40"Return an ASCII-only representation of an object.\n"
41"\n"
42"As repr(), return a string containing a printable representation of an\n"
43"object, but escape the non-ASCII characters in the string returned by\n"
44"repr() using \\\\x, \\\\u or \\\\U escapes. This generates a string similar\n"
45"to that returned by repr() in Python 2.");
46
47#define BUILTIN_ASCII_METHODDEF \
48 {"ascii", (PyCFunction)builtin_ascii, METH_O, builtin_ascii__doc__},
49
50PyDoc_STRVAR(builtin_bin__doc__,
51"bin($module, number, /)\n"
52"--\n"
53"\n"
54"Return the binary representation of an integer.\n"
55"\n"
56" >>> bin(2796202)\n"
57" \'0b1010101010101010101010\'");
58
59#define BUILTIN_BIN_METHODDEF \
60 {"bin", (PyCFunction)builtin_bin, METH_O, builtin_bin__doc__},
61
62PyDoc_STRVAR(builtin_callable__doc__,
63"callable($module, obj, /)\n"
64"--\n"
65"\n"
66"Return whether the object is callable (i.e., some kind of function).\n"
67"\n"
68"Note that classes are callable, as are instances of classes with a\n"
69"__call__() method.");
70
71#define BUILTIN_CALLABLE_METHODDEF \
72 {"callable", (PyCFunction)builtin_callable, METH_O, builtin_callable__doc__},
73
74PyDoc_STRVAR(builtin_format__doc__,
75"format($module, value, format_spec=\'\', /)\n"
76"--\n"
77"\n"
78"Return value.__format__(format_spec)\n"
79"\n"
80"format_spec defaults to the empty string");
81
82#define BUILTIN_FORMAT_METHODDEF \
83 {"format", (PyCFunction)builtin_format, METH_VARARGS, builtin_format__doc__},
84
85static PyObject *
Larry Hastings89964c42015-04-14 18:07:59 -040086builtin_format_impl(PyModuleDef *module, PyObject *value,
87 PyObject *format_spec);
Serhiy Storchaka1009bf12015-04-03 23:53:51 +030088
89static PyObject *
90builtin_format(PyModuleDef *module, PyObject *args)
91{
92 PyObject *return_value = NULL;
93 PyObject *value;
94 PyObject *format_spec = NULL;
95
96 if (!PyArg_ParseTuple(args,
97 "O|U:format",
98 &value, &format_spec))
99 goto exit;
100 return_value = builtin_format_impl(module, value, format_spec);
101
102exit:
103 return return_value;
104}
105
106PyDoc_STRVAR(builtin_chr__doc__,
107"chr($module, i, /)\n"
108"--\n"
109"\n"
110"Return a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff.");
111
112#define BUILTIN_CHR_METHODDEF \
Serhiy Storchaka92e8af62015-04-04 00:12:11 +0300113 {"chr", (PyCFunction)builtin_chr, METH_O, builtin_chr__doc__},
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300114
115static PyObject *
116builtin_chr_impl(PyModuleDef *module, int i);
117
118static PyObject *
Serhiy Storchaka92e8af62015-04-04 00:12:11 +0300119builtin_chr(PyModuleDef *module, PyObject *arg)
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300120{
121 PyObject *return_value = NULL;
122 int i;
123
Serhiy Storchaka92e8af62015-04-04 00:12:11 +0300124 if (!PyArg_Parse(arg,
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300125 "i:chr",
126 &i))
127 goto exit;
128 return_value = builtin_chr_impl(module, i);
129
130exit:
131 return return_value;
132}
133
134PyDoc_STRVAR(builtin_compile__doc__,
135"compile($module, /, source, filename, mode, flags=0, dont_inherit=0,\n"
136" optimize=-1)\n"
137"--\n"
138"\n"
139"Compile source into a code object that can be executed by exec() or eval().\n"
140"\n"
141"The source code may represent a Python module, statement or expression.\n"
142"The filename will be used for run-time error messages.\n"
143"The mode must be \'exec\' to compile a module, \'single\' to compile a\n"
144"single (interactive) statement, or \'eval\' to compile an expression.\n"
145"The flags argument, if present, controls which future statements influence\n"
146"the compilation of the code.\n"
147"The dont_inherit argument, if non-zero, stops the compilation inheriting\n"
148"the effects of any future statements in effect in the code calling\n"
149"compile; if absent or zero these statements do influence the compilation,\n"
150"in addition to any features explicitly specified.");
151
152#define BUILTIN_COMPILE_METHODDEF \
153 {"compile", (PyCFunction)builtin_compile, METH_VARARGS|METH_KEYWORDS, builtin_compile__doc__},
154
155static PyObject *
Larry Hastings89964c42015-04-14 18:07:59 -0400156builtin_compile_impl(PyModuleDef *module, PyObject *source,
157 PyObject *filename, const char *mode, int flags,
158 int dont_inherit, int optimize);
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300159
160static PyObject *
161builtin_compile(PyModuleDef *module, PyObject *args, PyObject *kwargs)
162{
163 PyObject *return_value = NULL;
164 static char *_keywords[] = {"source", "filename", "mode", "flags", "dont_inherit", "optimize", NULL};
165 PyObject *source;
166 PyObject *filename;
167 const char *mode;
168 int flags = 0;
169 int dont_inherit = 0;
170 int optimize = -1;
171
172 if (!PyArg_ParseTupleAndKeywords(args, kwargs,
173 "OO&s|iii:compile", _keywords,
174 &source, PyUnicode_FSDecoder, &filename, &mode, &flags, &dont_inherit, &optimize))
175 goto exit;
176 return_value = builtin_compile_impl(module, source, filename, mode, flags, dont_inherit, optimize);
177
178exit:
179 return return_value;
180}
181
182PyDoc_STRVAR(builtin_divmod__doc__,
183"divmod($module, x, y, /)\n"
184"--\n"
185"\n"
186"Return the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x.");
187
188#define BUILTIN_DIVMOD_METHODDEF \
189 {"divmod", (PyCFunction)builtin_divmod, METH_VARARGS, builtin_divmod__doc__},
190
191static PyObject *
192builtin_divmod_impl(PyModuleDef *module, PyObject *x, PyObject *y);
193
194static PyObject *
195builtin_divmod(PyModuleDef *module, PyObject *args)
196{
197 PyObject *return_value = NULL;
198 PyObject *x;
199 PyObject *y;
200
201 if (!PyArg_UnpackTuple(args, "divmod",
202 2, 2,
203 &x, &y))
204 goto exit;
205 return_value = builtin_divmod_impl(module, x, y);
206
207exit:
208 return return_value;
209}
210
211PyDoc_STRVAR(builtin_eval__doc__,
212"eval($module, source, globals=None, locals=None, /)\n"
213"--\n"
214"\n"
215"Evaluate the given source in the context of globals and locals.\n"
216"\n"
217"The source may be a string representing a Python expression\n"
218"or a code object as returned by compile().\n"
219"The globals must be a dictionary and locals can be any mapping,\n"
220"defaulting to the current globals and locals.\n"
221"If only globals is given, locals defaults to it.");
222
223#define BUILTIN_EVAL_METHODDEF \
224 {"eval", (PyCFunction)builtin_eval, METH_VARARGS, builtin_eval__doc__},
225
226static PyObject *
Larry Hastings89964c42015-04-14 18:07:59 -0400227builtin_eval_impl(PyModuleDef *module, PyObject *source, PyObject *globals,
228 PyObject *locals);
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300229
230static PyObject *
231builtin_eval(PyModuleDef *module, PyObject *args)
232{
233 PyObject *return_value = NULL;
234 PyObject *source;
235 PyObject *globals = Py_None;
236 PyObject *locals = Py_None;
237
238 if (!PyArg_UnpackTuple(args, "eval",
239 1, 3,
240 &source, &globals, &locals))
241 goto exit;
242 return_value = builtin_eval_impl(module, source, globals, locals);
243
244exit:
245 return return_value;
246}
247
248PyDoc_STRVAR(builtin_exec__doc__,
249"exec($module, source, globals=None, locals=None, /)\n"
250"--\n"
251"\n"
252"Execute the given source in the context of globals and locals.\n"
253"\n"
254"The source may be a string representing one or more Python statements\n"
255"or a code object as returned by compile().\n"
256"The globals must be a dictionary and locals can be any mapping,\n"
257"defaulting to the current globals and locals.\n"
258"If only globals is given, locals defaults to it.");
259
260#define BUILTIN_EXEC_METHODDEF \
261 {"exec", (PyCFunction)builtin_exec, METH_VARARGS, builtin_exec__doc__},
262
263static PyObject *
Larry Hastings89964c42015-04-14 18:07:59 -0400264builtin_exec_impl(PyModuleDef *module, PyObject *source, PyObject *globals,
265 PyObject *locals);
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300266
267static PyObject *
268builtin_exec(PyModuleDef *module, PyObject *args)
269{
270 PyObject *return_value = NULL;
271 PyObject *source;
272 PyObject *globals = Py_None;
273 PyObject *locals = Py_None;
274
275 if (!PyArg_UnpackTuple(args, "exec",
276 1, 3,
277 &source, &globals, &locals))
278 goto exit;
279 return_value = builtin_exec_impl(module, source, globals, locals);
280
281exit:
282 return return_value;
283}
284
285PyDoc_STRVAR(builtin_globals__doc__,
286"globals($module, /)\n"
287"--\n"
288"\n"
289"Return the dictionary containing the current scope\'s global variables.\n"
290"\n"
291"NOTE: Updates to this dictionary *will* affect name lookups in the current\n"
292"global scope and vice-versa.");
293
294#define BUILTIN_GLOBALS_METHODDEF \
295 {"globals", (PyCFunction)builtin_globals, METH_NOARGS, builtin_globals__doc__},
296
297static PyObject *
298builtin_globals_impl(PyModuleDef *module);
299
300static PyObject *
301builtin_globals(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
302{
303 return builtin_globals_impl(module);
304}
305
306PyDoc_STRVAR(builtin_hasattr__doc__,
307"hasattr($module, obj, name, /)\n"
308"--\n"
309"\n"
310"Return whether the object has an attribute with the given name.\n"
311"\n"
312"This is done by calling getattr(obj, name) and catching AttributeError.");
313
314#define BUILTIN_HASATTR_METHODDEF \
315 {"hasattr", (PyCFunction)builtin_hasattr, METH_VARARGS, builtin_hasattr__doc__},
316
317static PyObject *
318builtin_hasattr_impl(PyModuleDef *module, PyObject *obj, PyObject *name);
319
320static PyObject *
321builtin_hasattr(PyModuleDef *module, PyObject *args)
322{
323 PyObject *return_value = NULL;
324 PyObject *obj;
325 PyObject *name;
326
327 if (!PyArg_UnpackTuple(args, "hasattr",
328 2, 2,
329 &obj, &name))
330 goto exit;
331 return_value = builtin_hasattr_impl(module, obj, name);
332
333exit:
334 return return_value;
335}
336
337PyDoc_STRVAR(builtin_id__doc__,
338"id($module, obj, /)\n"
339"--\n"
340"\n"
341"Return the identity of an object.\n"
342"\n"
343"This is guaranteed to be unique among simultaneously existing objects.\n"
344"(CPython uses the object\'s memory address.)");
345
346#define BUILTIN_ID_METHODDEF \
347 {"id", (PyCFunction)builtin_id, METH_O, builtin_id__doc__},
348
349PyDoc_STRVAR(builtin_setattr__doc__,
350"setattr($module, obj, name, value, /)\n"
351"--\n"
352"\n"
353"Sets the named attribute on the given object to the specified value.\n"
354"\n"
355"setattr(x, \'y\', v) is equivalent to ``x.y = v\'\'");
356
357#define BUILTIN_SETATTR_METHODDEF \
358 {"setattr", (PyCFunction)builtin_setattr, METH_VARARGS, builtin_setattr__doc__},
359
360static PyObject *
Larry Hastings89964c42015-04-14 18:07:59 -0400361builtin_setattr_impl(PyModuleDef *module, PyObject *obj, PyObject *name,
362 PyObject *value);
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300363
364static PyObject *
365builtin_setattr(PyModuleDef *module, PyObject *args)
366{
367 PyObject *return_value = NULL;
368 PyObject *obj;
369 PyObject *name;
370 PyObject *value;
371
372 if (!PyArg_UnpackTuple(args, "setattr",
373 3, 3,
374 &obj, &name, &value))
375 goto exit;
376 return_value = builtin_setattr_impl(module, obj, name, value);
377
378exit:
379 return return_value;
380}
381
382PyDoc_STRVAR(builtin_delattr__doc__,
383"delattr($module, obj, name, /)\n"
384"--\n"
385"\n"
386"Deletes the named attribute from the given object.\n"
387"\n"
388"delattr(x, \'y\') is equivalent to ``del x.y\'\'");
389
390#define BUILTIN_DELATTR_METHODDEF \
391 {"delattr", (PyCFunction)builtin_delattr, METH_VARARGS, builtin_delattr__doc__},
392
393static PyObject *
394builtin_delattr_impl(PyModuleDef *module, PyObject *obj, PyObject *name);
395
396static PyObject *
397builtin_delattr(PyModuleDef *module, PyObject *args)
398{
399 PyObject *return_value = NULL;
400 PyObject *obj;
401 PyObject *name;
402
403 if (!PyArg_UnpackTuple(args, "delattr",
404 2, 2,
405 &obj, &name))
406 goto exit;
407 return_value = builtin_delattr_impl(module, obj, name);
408
409exit:
410 return return_value;
411}
412
413PyDoc_STRVAR(builtin_hash__doc__,
414"hash($module, obj, /)\n"
415"--\n"
416"\n"
417"Return the hash value for the given object.\n"
418"\n"
419"Two objects that compare equal must also have the same hash value, but the\n"
420"reverse is not necessarily true.");
421
422#define BUILTIN_HASH_METHODDEF \
423 {"hash", (PyCFunction)builtin_hash, METH_O, builtin_hash__doc__},
424
425PyDoc_STRVAR(builtin_hex__doc__,
426"hex($module, number, /)\n"
427"--\n"
428"\n"
429"Return the hexadecimal representation of an integer.\n"
430"\n"
431" >>> hex(12648430)\n"
432" \'0xc0ffee\'");
433
434#define BUILTIN_HEX_METHODDEF \
435 {"hex", (PyCFunction)builtin_hex, METH_O, builtin_hex__doc__},
436
437PyDoc_STRVAR(builtin_len__doc__,
438"len($module, obj, /)\n"
439"--\n"
440"\n"
441"Return the number of items in a container.");
442
443#define BUILTIN_LEN_METHODDEF \
444 {"len", (PyCFunction)builtin_len, METH_O, builtin_len__doc__},
445
446PyDoc_STRVAR(builtin_locals__doc__,
447"locals($module, /)\n"
448"--\n"
449"\n"
450"Return a dictionary containing the current scope\'s local variables.\n"
451"\n"
452"NOTE: Whether or not updates to this dictionary will affect name lookups in\n"
453"the local scope and vice-versa is *implementation dependent* and not\n"
454"covered by any backwards compatibility guarantees.");
455
456#define BUILTIN_LOCALS_METHODDEF \
457 {"locals", (PyCFunction)builtin_locals, METH_NOARGS, builtin_locals__doc__},
458
459static PyObject *
460builtin_locals_impl(PyModuleDef *module);
461
462static PyObject *
463builtin_locals(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
464{
465 return builtin_locals_impl(module);
466}
467
468PyDoc_STRVAR(builtin_oct__doc__,
469"oct($module, number, /)\n"
470"--\n"
471"\n"
472"Return the octal representation of an integer.\n"
473"\n"
474" >>> oct(342391)\n"
475" \'0o1234567\'");
476
477#define BUILTIN_OCT_METHODDEF \
478 {"oct", (PyCFunction)builtin_oct, METH_O, builtin_oct__doc__},
479
480PyDoc_STRVAR(builtin_ord__doc__,
481"ord($module, c, /)\n"
482"--\n"
483"\n"
484"Return the Unicode code point for a one-character string.");
485
486#define BUILTIN_ORD_METHODDEF \
487 {"ord", (PyCFunction)builtin_ord, METH_O, builtin_ord__doc__},
488
489PyDoc_STRVAR(builtin_pow__doc__,
490"pow($module, x, y, z=None, /)\n"
491"--\n"
492"\n"
493"Equivalent to x**y (with two arguments) or x**y % z (with three arguments)\n"
494"\n"
495"Some types, such as ints, are able to use a more efficient algorithm when\n"
496"invoked using the three argument form.");
497
498#define BUILTIN_POW_METHODDEF \
499 {"pow", (PyCFunction)builtin_pow, METH_VARARGS, builtin_pow__doc__},
500
501static PyObject *
502builtin_pow_impl(PyModuleDef *module, PyObject *x, PyObject *y, PyObject *z);
503
504static PyObject *
505builtin_pow(PyModuleDef *module, PyObject *args)
506{
507 PyObject *return_value = NULL;
508 PyObject *x;
509 PyObject *y;
510 PyObject *z = Py_None;
511
512 if (!PyArg_UnpackTuple(args, "pow",
513 2, 3,
514 &x, &y, &z))
515 goto exit;
516 return_value = builtin_pow_impl(module, x, y, z);
517
518exit:
519 return return_value;
520}
521
522PyDoc_STRVAR(builtin_input__doc__,
523"input($module, prompt=None, /)\n"
524"--\n"
525"\n"
526"Read a string from standard input. The trailing newline is stripped.\n"
527"\n"
528"The prompt string, if given, is printed to standard output without a\n"
529"trailing newline before reading input.\n"
530"\n"
531"If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError.\n"
532"On *nix systems, readline is used if available.");
533
534#define BUILTIN_INPUT_METHODDEF \
535 {"input", (PyCFunction)builtin_input, METH_VARARGS, builtin_input__doc__},
536
537static PyObject *
538builtin_input_impl(PyModuleDef *module, PyObject *prompt);
539
540static PyObject *
541builtin_input(PyModuleDef *module, PyObject *args)
542{
543 PyObject *return_value = NULL;
544 PyObject *prompt = NULL;
545
546 if (!PyArg_UnpackTuple(args, "input",
547 0, 1,
548 &prompt))
549 goto exit;
550 return_value = builtin_input_impl(module, prompt);
551
552exit:
553 return return_value;
554}
555
556PyDoc_STRVAR(builtin_repr__doc__,
557"repr($module, obj, /)\n"
558"--\n"
559"\n"
560"Return the canonical string representation of the object.\n"
561"\n"
562"For many object types, including most builtins, eval(repr(obj)) == obj.");
563
564#define BUILTIN_REPR_METHODDEF \
565 {"repr", (PyCFunction)builtin_repr, METH_O, builtin_repr__doc__},
566
567PyDoc_STRVAR(builtin_sum__doc__,
568"sum($module, iterable, start=0, /)\n"
569"--\n"
570"\n"
571"Return the sum of a \'start\' value (default: 0) plus an iterable of numbers\n"
572"\n"
573"When the iterable is empty, return the start value.\n"
574"This function is intended specifically for use with numeric values and may\n"
575"reject non-numeric types.");
576
577#define BUILTIN_SUM_METHODDEF \
578 {"sum", (PyCFunction)builtin_sum, METH_VARARGS, builtin_sum__doc__},
579
580static PyObject *
581builtin_sum_impl(PyModuleDef *module, PyObject *iterable, PyObject *start);
582
583static PyObject *
584builtin_sum(PyModuleDef *module, PyObject *args)
585{
586 PyObject *return_value = NULL;
587 PyObject *iterable;
588 PyObject *start = NULL;
589
590 if (!PyArg_UnpackTuple(args, "sum",
591 1, 2,
592 &iterable, &start))
593 goto exit;
594 return_value = builtin_sum_impl(module, iterable, start);
595
596exit:
597 return return_value;
598}
599
600PyDoc_STRVAR(builtin_isinstance__doc__,
601"isinstance($module, obj, class_or_tuple, /)\n"
602"--\n"
603"\n"
604"Return whether an object is an instance of a class or of a subclass thereof.\n"
605"\n"
606"A tuple, as in ``isinstance(x, (A, B, ...))``, may be given as the target to\n"
607"check against. This is equivalent to ``isinstance(x, A) or isinstance(x, B)\n"
608"or ...`` etc.");
609
610#define BUILTIN_ISINSTANCE_METHODDEF \
611 {"isinstance", (PyCFunction)builtin_isinstance, METH_VARARGS, builtin_isinstance__doc__},
612
613static PyObject *
Larry Hastings89964c42015-04-14 18:07:59 -0400614builtin_isinstance_impl(PyModuleDef *module, PyObject *obj,
615 PyObject *class_or_tuple);
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300616
617static PyObject *
618builtin_isinstance(PyModuleDef *module, PyObject *args)
619{
620 PyObject *return_value = NULL;
621 PyObject *obj;
622 PyObject *class_or_tuple;
623
624 if (!PyArg_UnpackTuple(args, "isinstance",
625 2, 2,
626 &obj, &class_or_tuple))
627 goto exit;
628 return_value = builtin_isinstance_impl(module, obj, class_or_tuple);
629
630exit:
631 return return_value;
632}
633
634PyDoc_STRVAR(builtin_issubclass__doc__,
635"issubclass($module, cls, class_or_tuple, /)\n"
636"--\n"
637"\n"
638"Return whether \'cls\' is a derived from another class or is the same class.\n"
639"\n"
640"A tuple, as in ``issubclass(x, (A, B, ...))``, may be given as the target to\n"
641"check against. This is equivalent to ``issubclass(x, A) or issubclass(x, B)\n"
642"or ...`` etc.");
643
644#define BUILTIN_ISSUBCLASS_METHODDEF \
645 {"issubclass", (PyCFunction)builtin_issubclass, METH_VARARGS, builtin_issubclass__doc__},
646
647static PyObject *
Larry Hastings89964c42015-04-14 18:07:59 -0400648builtin_issubclass_impl(PyModuleDef *module, PyObject *cls,
649 PyObject *class_or_tuple);
Serhiy Storchaka1009bf12015-04-03 23:53:51 +0300650
651static PyObject *
652builtin_issubclass(PyModuleDef *module, PyObject *args)
653{
654 PyObject *return_value = NULL;
655 PyObject *cls;
656 PyObject *class_or_tuple;
657
658 if (!PyArg_UnpackTuple(args, "issubclass",
659 2, 2,
660 &cls, &class_or_tuple))
661 goto exit;
662 return_value = builtin_issubclass_impl(module, cls, class_or_tuple);
663
664exit:
665 return return_value;
666}
Larry Hastings89964c42015-04-14 18:07:59 -0400667/*[clinic end generated code: output=b308ab64aa4d4ff8 input=a9049054013a1b77]*/