Skip to content

Commit

Permalink
remove unnecessary @builtinclass decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnq committed May 22, 2017
1 parent 6cf6211 commit d4fba25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-data/unit/fixtures/f_string.pyi
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Builtins stub used for format-string-related test cases.
# We need str and list, and str needs join and format methods.

from typing import TypeVar, Generic, builtinclass, Iterable, Iterator, List, overload
from typing import TypeVar, Generic, Iterable, Iterator, List, overload

T = TypeVar('T')

@builtinclass
class object:
def __init__(self): pass

Expand All @@ -31,6 +30,7 @@ class tuple(Generic[T]): pass
class function: pass
class int:
def __add__(self, i: int) -> int: pass

class float: pass
class bool(int): pass

Expand Down

0 comments on commit d4fba25

Please sign in to comment.