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.
types.CodeType
1 parent 0a37155 commit 9b950a4Copy full SHA for 9b950a4
shared-bindings/codeop/__init__.c
@@ -16,12 +16,12 @@ static const char *get_arg_str(mp_obj_t arg, qstr name) {
16
17
//| """Utilities to compile possibly incomplete Python source code."""
18
//|
19
-//| from typing import Any
+//| from types import CodeType
20
21
22
//| def compile_command(
23
//| source: str, filename: str = "<input>", symbol: str = "single"
24
-//| ) -> Any: # NOTE(elpekenin): we can't access the "code" type
+//| ) -> CodeType:
25
//| """Compile a command and determine whether it is incomplete
26
27
//| The 'completeness' determination is slightly different than in standard Python
0 commit comments