mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
SetPort was missing, and the defs file needs the FOUR_CHAR_CODE define.
This commit is contained in:
parent
bbf4be2c2f
commit
7f725e4061
4 changed files with 39 additions and 21 deletions
|
@ -60,6 +60,10 @@ class MyScanner(Scanner):
|
|||
## listname = "r_methods"
|
||||
return classname, listname
|
||||
|
||||
|
||||
def writeinitialdefs(self):
|
||||
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
|
||||
|
||||
def makeblacklistnames(self):
|
||||
return [
|
||||
'InitGraf',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue