l0n0lc 0.7.3__tar.gz → 0.7.4__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: l0n0lc
3
- Version: 0.7.3
3
+ Version: 0.7.4
4
4
  Summary: 用python写c
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Requires-Python: >=3.10
@@ -556,9 +556,8 @@ class py2cpp编译器(ast.NodeVisitor):
556
556
 
557
557
  def jit(jit编译器=None, c编译器=None, 每次运行都重新编译: bool = False):
558
558
  def 编译函数(fn: Callable):
559
-
560
559
  # print(ast.dump(语法树, indent=' '))
561
- c语言函数编译器 = jit编译器 or py2cpp编译器(fn)
560
+ c语言函数编译器 = jit编译器(fn) if jit编译器 else py2cpp编译器(fn)
562
561
  库文件名 = c语言函数编译器.获取库文件名()
563
562
  # 检测是否已存在
564
563
  if 每次运行都重新编译 or not os.path.exists(f'{通用信息.工作文件夹地址}/{库文件名}'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: l0n0lc
3
- Version: 0.7.3
3
+ Version: 0.7.4
4
4
  Summary: 用python写c
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Requires-Python: >=3.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "l0n0lc"
3
- version = "0.7.3"
3
+ version = "0.7.4"
4
4
  description = "用python写c"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes