mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Remove non-needed Python 2.x inherit from object (#1622)
In Python 3.x it is not necessary to have `object` inheritance in classes, it may be useful to have `object` inheritance in classes if the code has support for Python 3.x, 2.x, but currently the present code does not contain support for python 2.x. Co-authored-by: martimartins <martim13artins13@gmail.com>
This commit is contained in:
co-authored by
martimartins
parent
68740764f3
commit
31df852738
@@ -43,7 +43,7 @@ def add_access_token_arg(
|
||||
)
|
||||
|
||||
|
||||
class Client(object):
|
||||
class Client:
|
||||
"""A GitHub GraphQL client."""
|
||||
|
||||
def __init__(self, parsed_args: argparse.Namespace):
|
||||
|
||||
Reference in New Issue
Block a user