mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Mark the codebase as Python 2 compatible. (#27214)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/27214 There appears to be some convention that if you have a .python2 file in your directory, it indicates all of the downstream files are Python 2 files (and our internal linter will stop complaining about lack of __future__ compatibility imports). When we switch to Python 3 only, move this to .python3 Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Reviewed By: zertosh Differential Revision: D17712308 Pulled By: ezyang fbshipit-source-id: 69b1dd720bc20a22264ebdc0ce56b7a5dbfc5f34
This commit is contained in:
committed by
Facebook Github Bot
parent
33db4e02cb
commit
5f36ce6792