Skip to content

Commit 871d621

Browse files
committed
doc
1 parent 8fcecee commit 871d621

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/core/dtypes/inference.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,11 @@ def is_hashable(obj: object, allow_slice: bool | None = None) -> TypeGuard[Hasha
390390
----------
391391
obj : object
392392
The object to check for hashability. Any Python object can be passed here.
393-
allow_slice: bool or None
394-
If True: return True if the object is hashable (including slices).
395-
If False: return True if the object is hashable and not a slice.
396-
If None: return True if the object is hashable. without checking
397-
for slice type.
393+
allow_slice : bool or None
394+
If True, return True if the object is hashable (including slices).
395+
If False, return True if the object is hashable and not a slice.
396+
If None, return True if the object is hashable without checking
397+
for slice type.
398398
399399
Returns
400400
-------

0 commit comments

Comments
 (0)