Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 695656760
  • Loading branch information
apronchenkov authored and colaboratory-team committed Nov 12, 2024
1 parent a7bcc40 commit 91ff88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/colab/_inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def _getdef(self, obj, oname=''):
new_params = []
for v in sig.parameters.values():
new_default = v.default
if v.default != v.empty:
if v.default is not v.empty:
new_default = _SafeReprParam(v.default)
new_params.append(v.replace(default=new_default))
new_sig = sig.replace(parameters=new_params)
Expand Down

0 comments on commit 91ff88e

Please sign in to comment.