Skip to content

Commit

Permalink
added type hint to PreciseMode
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudAshraf97 committed Sep 8, 2023
1 parent 454122f commit 8814d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/functional/ivy/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class PreciseMode:
"""Precise Mode Context Manager."""

# noinspection PyShadowingNames
def __init__(self, precise_mode):
def __init__(self, precise_mode: bool):
self._precise_mode = precise_mode

def __enter__(self):
Expand Down

0 comments on commit 8814d5c

Please sign in to comment.