File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 25
25
from stackless_testsuite .util import FUNCTION , create_type_tests_for_module
26
26
import stackless
27
27
28
-
29
- DECLARED_API = {'bomb' : callable , # undocumented in the manual
28
+ # you get them by "from stackless import *"
29
+ DECLARED_API = {# 'bomb': callable, # undocumented in the manual
30
30
'atomic' : type ,
31
- 'set_error_handler' : callable , # undocumented in the manual
31
+ # 'set_error_handler': callable, # undocumented in the manual, debug related
32
32
'getmain' : FUNCTION ,
33
- 'switch_trap' : FUNCTION ,
33
+ # 'switch_trap': FUNCTION, debug related
34
34
'get_thread_info' : FUNCTION ,
35
35
'tasklet' : type ,
36
36
'stackless' : types .ModuleType ,
39
39
'getruncount' : FUNCTION ,
40
40
'schedule_remove' : FUNCTION ,
41
41
'getcurrent' : FUNCTION ,
42
- 'enable_softswitch' : FUNCTION ,
42
+ # 'enable_softswitch': FUNCTION, depends on the implementation
43
43
'getcurrentid' : FUNCTION , # undocumented in the manual
44
44
'channel' : type ,
45
45
}
46
+
47
+ # not imported by a "from stackless import *", but provided and documented
46
48
ADDITIONAL_API = {"current" : stackless .tasklet ,
47
49
"main" : stackless .tasklet ,
48
50
"runcount" : int ,
You can’t perform that action at this time.
0 commit comments