You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Note: this is an upheaval because we need to pass "code" or at least "code.co_consts" to the docstring detection routine
10 lines
369 B
Python
10 lines
369 B
Python
# From 2.7.17 test_bdb.py
|
|
# The problem was detecting a docstring at the begining of the module
|
|
# It must be detected and change'd or else the "from __future__" below
|
|
# is invalid.
|
|
# Note that this has to be compiled with optimation < 2 or else optimization
|
|
# will remove the docstring
|
|
"""Rational, infinite-precision, real numbers."""
|
|
|
|
from __future__ import division
|