This commit is contained in:
guanjihuan 2023-11-27 17:01:54 +08:00
parent bd8930d03e
commit f73c48d199
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[metadata]
# replace with your username:
name = guan
version = 0.1.49
version = 0.1.50
author = guanjihuan
author_email = guanjihuan@163.com
description = An open source python package

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: guan
Version: 0.1.49
Version: 0.1.50
Summary: An open source python package
Home-page: https://py.guanjihuan.com
Author: guanjihuan

View File

@ -3,9 +3,10 @@
# 函数的装饰器,用于软件包的统计
def function_decorator(func):
def wrapper(*args, **kwargs):
func(*args, **kwargs)
result = func(*args, **kwargs)
import guan
guan.statistics_of_guan_package(func.__name__)
return result
return wrapper
from .basic_functions import *