0.1.48 增加装饰器
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Guan is an open-source python package developed and maintained by https://www.guanjihuan.com/about (Ji-Huan Guan, 关济寰). The primary location of this package is on website https://py.guanjihuan.com. The GitHub location of this package is on https://github.com/guanjihuan/py.guanjihuan.com.
|
||||
|
||||
# 函数的装饰器,用于软件包的统计
|
||||
def function_decorator(func):
|
||||
def wrapper():
|
||||
func()
|
||||
import guan
|
||||
guan.statistics_of_guan_package(func.__name__)
|
||||
return wrapper
|
||||
|
||||
from .basic_functions import *
|
||||
from .Fourier_transform import *
|
||||
from .Hamiltonian_of_examples import *
|
||||
|
Reference in New Issue
Block a user