Skip to content

Commit

Permalink
Included __format__ in safe_attrs to support f-strings and calls such…
Browse files Browse the repository at this point in the history
… as format()
  • Loading branch information
comrumino committed Feb 1, 2021
1 parent 9be1ec6 commit 549a99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpyc/core/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class PingError(Exception):
'__rpow__', '__rrshift__', '__rshift__', '__rsub__', '__rtruediv__',
'__rxor__', '__setitem__', '__setslice__', '__str__', '__sub__',
'__truediv__', '__xor__', 'next', '__length_hint__', '__enter__',
'__exit__', '__next__', ]),
'__exit__', '__next__', '__format__']),
exposed_prefix="exposed_",
allow_getattr=True,
allow_setattr=False,
Expand Down

0 comments on commit 549a99b

Please sign in to comment.