mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-08 20:35:23 +01:00
Change Python -> python
(lowercase convention)
This commit is contained in:
parent
a4d1a445ac
commit
6ec368ce37
46 changed files with 30 additions and 30 deletions
28
sysc/python-2.5.6/patches/keyword.patch
Normal file
28
sysc/python-2.5.6/patches/keyword.patch
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: PSF-2.0
|
||||
|
||||
frozenset() is a feature only added in Python 2.5, but we are
|
||||
building Python 2.5, so we must bypass this logic. (It is not
|
||||
critical, so we can just remove it).
|
||||
|
||||
--- Lib/keyword.py 2022-10-11 12:51:13.050744758 +1100
|
||||
+++ Lib/keyword.py 2022-10-11 12:52:05.946372559 +1100
|
||||
@@ -10,7 +10,7 @@
|
||||
python Lib/keyword.py
|
||||
"""
|
||||
|
||||
-__all__ = ["iskeyword", "kwlist"]
|
||||
+__all__ = ["kwlist"]
|
||||
|
||||
kwlist = [
|
||||
#--start keywords--
|
||||
@@ -48,8 +48,6 @@
|
||||
#--end keywords--
|
||||
]
|
||||
|
||||
-iskeyword = frozenset(kwlist).__contains__
|
||||
-
|
||||
def main():
|
||||
import sys, re
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue