Skip to content

Commit

Permalink
Change "..." to "pass" for Python 2 and pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanforbes committed Apr 14, 2019
1 parent 6984002 commit a9996e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pendulum/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def add_duration(
seconds=0, # type: int
microseconds=0, # type: int
): # type: (...) -> _DT
...
pass


@overload
Expand All @@ -73,7 +73,7 @@ def add_duration(
weeks=0, # type: int
days=0, # type: int
): # type: (...) -> _D
...
pass


def add_duration(
Expand Down
4 changes: 2 additions & 2 deletions pendulum/tz/timezone.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ def _lookup_transition(

@overload
def utcoffset(self, dt): # type: (None) -> None
...
pass

@overload
def utcoffset(self, dt): # type: (_datetime) -> timedelta
...
pass

def utcoffset(self, dt):
if dt is None:
Expand Down

0 comments on commit a9996e0

Please sign in to comment.