mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-25 08:40:35 +08:00
Remove explicit inheritance from object
Summary: All classes implicitly inherit from `object` since Python 3, so remove unnecessary explicit inheritance. From the [official documentation](https://docs.python.org/3/library/functions.html#object): > `object` is a base for all classes. Reviewed By: nikhilaravi Differential Revision: D28942595 fbshipit-source-id: 466c0d19d8a93a6263e7ad734c3e87160cfa6066
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f14c0236f0
commit
d76c00721c
@@ -7,7 +7,7 @@ import torch
|
||||
from . import utils as struct_utils
|
||||
|
||||
|
||||
class Meshes(object):
|
||||
class Meshes:
|
||||
"""
|
||||
This class provides functions for working with batches of triangulated
|
||||
meshes with varying numbers of faces and vertices, and converting between
|
||||
|
||||
Reference in New Issue
Block a user