Remove unneeded comment and link for BuildExtension (#115496)

`BuildExtension` is no longer derived from object, but from `build_ext`. Py2 is also deprecated, so this comment wouldn't be required anyways

Pull Request resolved: https://github.com/pytorch/pytorch/pull/115496
Approved by: https://github.com/Skylion007
This commit is contained in:
Kunal Tyagi
2024-01-01 08:29:48 +00:00
committed by PyTorch MergeBot
parent db752f2f1a
commit 6c02520466

View File

@ -450,10 +450,6 @@ def _check_cuda_version(compiler_name: str, compiler_version: TorchVersion) -> N
)
# See below for why we inherit BuildExtension from object.
# https://stackoverflow.com/questions/1713038/super-fails-with-error-typeerror-argument-1-must-be-type-not-classobj-when
class BuildExtension(build_ext):
"""
A custom :mod:`setuptools` build extension .