summaryrefslogtreecommitdiffstats
path: root/FOSS/Python/Dependencies/future-0.18.2/src/libfuturize/fixes/fix_object.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-01-23 14:28:53 -0800
committeryum <yum.food.vr@gmail.com>2023-01-23 14:32:09 -0800
commit9fff496394dcd94c4084694ca96a5e07ab836274 (patch)
treed89b78e16ecb6011bdd74555da79f7a8c1d90752 /FOSS/Python/Dependencies/future-0.18.2/src/libfuturize/fixes/fix_object.py
parent9329d64f991b8b3289af22e4c2eedb09a97c5640 (diff)
package.ps1 now fetches all dependencies
Don't literally check in Python since it looks dodgy (rightfully so). Instead the build script just fetches it. * Update README, simplifying language and documenting other projects
Diffstat (limited to 'FOSS/Python/Dependencies/future-0.18.2/src/libfuturize/fixes/fix_object.py')
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/libfuturize/fixes/fix_object.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/FOSS/Python/Dependencies/future-0.18.2/src/libfuturize/fixes/fix_object.py b/FOSS/Python/Dependencies/future-0.18.2/src/libfuturize/fixes/fix_object.py
deleted file mode 100644
index accf2c5..0000000
--- a/FOSS/Python/Dependencies/future-0.18.2/src/libfuturize/fixes/fix_object.py
+++ /dev/null
@@ -1,17 +0,0 @@
-"""
-Fixer that adds ``from builtins import object`` if there is a line
-like this:
- class Foo(object):
-"""
-
-from lib2to3 import fixer_base
-
-from libfuturize.fixer_util import touch_import_top
-
-
-class FixObject(fixer_base.BaseFix):
-
- PATTERN = u"classdef< 'class' NAME '(' name='object' ')' colon=':' any >"
-
- def transform(self, node, results):
- touch_import_top(u'builtins', 'object', node)