ezKit 2.0.8__tar.gz → 2.0.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ezKit
3
- Version: 2.0.8
3
+ Version: 2.0.9
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -49,7 +49,7 @@ def load_toml_file(file: str) -> dict:
49
49
  # --------------------------------------------------------------------------------------------------
50
50
 
51
51
 
52
- def map_filter(func: Callable, iterable: Iterable) -> list:
52
+ def map_filter(iterable: Iterable, func: Callable) -> list:
53
53
  """对 iterable 执行 func, 并保留为 True 的返回值"""
54
54
  try:
55
55
  return [x for x in map(func, iterable) if x]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ezKit
3
- Version: 2.0.8
3
+ Version: 2.0.9
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -4,7 +4,7 @@ from setuptools import find_packages, setup
4
4
 
5
5
  setup(
6
6
  name="ezKit",
7
- version="2.0.8",
7
+ version="2.0.9",
8
8
  author="septvean",
9
9
  author_email="septvean@gmail.com",
10
10
  description="Easy Kit",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes