Skip to content

Instantly share code, notes, and snippets.

@DaveIW2034
Created March 29, 2019 02:27
Show Gist options
  • Save DaveIW2034/bc2a0add000c0feef7c0f762821f2f43 to your computer and use it in GitHub Desktop.
Save DaveIW2034/bc2a0add000c0feef7c0f762821f2f43 to your computer and use it in GitHub Desktop.
有关生成类实例
"""
把一个类实例的生成写成类方法放入类里面, 你直接定义一个函数好不好, 叫获取类实例, 好么.
神烦!!!
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment