Skip to content

Commit

Permalink
feat(wtf): call method with a space after number
Browse files Browse the repository at this point in the history
  • Loading branch information
WokoLiu committed Sep 29, 2019
1 parent cb94f10 commit 0653d6a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wtf/number_magic.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
# @Time : 2019/9/29 11:03
# @Author : Woko
# @File : number_magic.py

# 在数字后头加个空格,就可以用来调用方法了
assert 1 .__add__(2) == 3

0 comments on commit 0653d6a

Please sign in to comment.