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 bc7a052 commit 0a37155Copy full SHA for 0a37155
shared-bindings/codeop/__init__.c
@@ -16,10 +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
20
+//|
21
22
//| def compile_command(
23
//| source: str, filename: str = "<input>", symbol: str = "single"
-//| ) -> "code": # NOTE(elpekenin): this type does not seem to exist
24
+//| ) -> Any: # NOTE(elpekenin): we can't access the "code" type
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