Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> python >> modernize
nabia  ] [  aramo  ]
[ ソース: modernize  ]

パッケージ: modernize (0.7-2)

Modernizes Python code for eventual Python 3 migration

This library is a very thin wrapper around lib2to3 to utilize it to make Python 2 code more modern with the intention of eventually porting it over to Python 3.

This package installs the python-modernize command line tool. It works like 2to3. It does not guarantee, but it attempts to spit out a codebase compatible with Python 2.6+ or Python 3. The code that it generates has a runtime dependency on six, unless the --no-six option is used. Version 1.9.0 or later of six is recommended. Some of the fixers output code that is not compatible with Python 2.5 or lower.

その他の modernize 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-libmodernize
    Modernizes Python code for eventual Python 3 migration (Python 3)

modernize のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 4.1 kB23 kB [ファイル一覧]