Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLN: Added annotations. #29506

Merged
merged 1 commit into from
Nov 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pandas/compat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def set_function_name(f, name, cls):


# https://github.com/pandas-dev/pandas/pull/9123
def is_platform_little_endian():
def is_platform_little_endian() -> bool:
"""
Checking if the running platform is little endian.

Expand All @@ -49,7 +49,7 @@ def is_platform_little_endian():
return sys.byteorder == "little"


def is_platform_windows():
def is_platform_windows() -> bool:
"""
Checking if the running platform is windows.

Expand All @@ -61,7 +61,7 @@ def is_platform_windows():
return sys.platform == "win32" or sys.platform == "cygwin"


def is_platform_linux():
def is_platform_linux() -> bool:
"""
Checking if the running platform is linux.

Expand All @@ -73,7 +73,7 @@ def is_platform_linux():
return sys.platform == "linux2"


def is_platform_mac():
def is_platform_mac() -> bool:
"""
Checking if the running platform is mac.

Expand All @@ -85,7 +85,7 @@ def is_platform_mac():
return sys.platform == "darwin"


def is_platform_32bit():
def is_platform_32bit() -> bool:
"""
Checking if the running platform is 32-bit.

Expand Down