Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
lib64
›
python3.8
›
lib2to3
›
fixes
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ fix_buffer.py
← Back
# Copyright 2007 Google, Inc. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. """Fixer that changes buffer(...) into memoryview(...).""" # Local imports from .. import fixer_base from ..fixer_util import Name class FixBuffer(fixer_base.BaseFix): BM_compatible = True explicit = True # The user must ask for this fixer PATTERN = """ power< name='buffer' trailer< '(' [any] ')' > any* > """ def transform(self, node, results): name = results["name"] name.replace(Name("memoryview", prefix=name.prefix))
💻
System Info
Current path
/lib64/python3.8/lib2to3/fixes
Contents
1 folders, 53 files
Disk free
100.54 GB
PHP version
8.3.30
🚀
Quick Actions
📍 Script location
🌐 Web root
🗑️ Temp
📁 /lib64/python3.8/lib2to3/fixes
⚡ Nexus File Manager • 54 items