mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Improve Python tree-shaking
This commit is contained in:
parent
5bb2275788
commit
4f41f2184d
169 changed files with 4182 additions and 2411 deletions
2
third_party/python/Lib/shelve.py
vendored
2
third_party/python/Lib/shelve.py
vendored
|
@ -223,7 +223,7 @@ class DbfilenameShelf(Shelf):
|
|||
"""
|
||||
|
||||
def __init__(self, filename, flag='c', protocol=None, writeback=False):
|
||||
import dbm
|
||||
# import dbm
|
||||
Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue