mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Import the MacOS toolbox modules from the Carbon package.
This commit is contained in:
parent
6dba6bc0a2
commit
5a6fdcd371
100 changed files with 336 additions and 331 deletions
|
|
@ -70,7 +70,8 @@ Content-type: text/html
|
|||
|
||||
def get_cgi_code():
|
||||
# If we're a CGI wrapper, the CGI code resides in a PYC resource.
|
||||
import Res, marshal
|
||||
from Carbon import Res
|
||||
import marshal
|
||||
try:
|
||||
code = Res.GetNamedResource('PYC ', "CGI_MAIN")
|
||||
except Res.Error:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue