mirror of
https://github.com/XAMPPRocky/tokei.git
synced 2026-10-01 11:56:42 +02:00
Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
30 lines
451 B
Cython
30 lines
451 B
Cython
# 29 lines, 21 code, 3 comments, 5 blanks
|
|
|
|
|
|
def add(x, y):
|
|
'''
|
|
Hello World
|
|
# Real Second line
|
|
Second line
|
|
'''
|
|
string = "Hello World #\
|
|
"
|
|
y += len(string)
|
|
# Add the two numbers.
|
|
x + y
|
|
|
|
|
|
cdef add2(x, y):
|
|
"""
|
|
Hello World
|
|
# Real Second line
|
|
Second line
|
|
|
|
Note that docstring lines are counted as code
|
|
"""
|
|
|
|
string = "Hello World"
|
|
y += len(string)
|
|
# Add the two numbers.
|
|
x + y
|