Skip to content

Commit e5b723a

Browse files
committed
bugfix - remove static method's argument. cls
1 parent e9bc142 commit e5b723a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyjosa/josa.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class Josa:
55

66
@staticmethod
7-
def get_josa(cls, string, josa) -> str:
7+
def get_josa(string, josa) -> str:
88

99
if (josa == '을') or (josa == '를'):
1010
return '을' if has_jongsung(string) else '를'
@@ -22,7 +22,7 @@ def get_josa(cls, string, josa) -> str:
2222
raise Exception("올바르지 않은 조사.")
2323

2424
@classmethod
25-
def get_full_string(cls, string, josa) -> str:
25+
def get_full_string(string, josa) -> str:
2626

2727
if (josa == '을') or (josa == '를'):
2828
return string + '을' if has_jongsung(string) else string + '를'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name = 'pyjosa',
5-
version = '0.0.8',
5+
version = '0.0.9',
66
description = '한국어 조사 처리 패키지',
77
author = 'sehwan.kim',
88
author_email = 'sehwan.kim@ingkle.com',

0 commit comments

Comments
 (0)