Skip to content

Commit 9db34b4

Browse files
committed
-
1 parent 5a69af2 commit 9db34b4

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

misc/IDE files/Wing/python_toolbox_py3.wpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ proj.directory-list = [{'dirloc': loc('../../..'),
3434
'watch_for_changes': True}]
3535
proj.file-type = 'shared'
3636
proj.home-dir = loc('../../..')
37-
proj.launch-config = {loc('../../../../../../Dropbox/Desktop/run_in_bash.py'): (''\
37+
proj.launch-config = {loc('../../../source_py3/python_toolbox/cute_iter_tools.py'): (''\
3838
'project',
3939
(u'',
4040
'launch-OHU716PSo2P5T54y'))}

source_py2/python_toolbox/wx_tools/widgets/cute_window/bind_savvy_evt_handler/event_codes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def get_event_code_from_name(name, evt_handler_type):
4747
be searched for event codes in precedence to `wx` and the event handler
4848
type's own module.
4949
'''
50-
processed_name = 'EVT_%s' % string_tools.conversions.\
51-
camelcase_to_underscore(name).upper()
50+
processed_name = 'EVT_%s' % string_tools.case_conversions. \
51+
camel_case_to_lower_case(name).upper()
5252
raw_event_modules = \
5353
(evt_handler_type.event_modules if
5454
sequence_tools.is_sequence(evt_handler_type.event_modules) else

source_py2/test_python_toolbox/test_string_tools/test_case_conversions.py

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

66

77
def test():
8-
assert case_conversions.camelcase_to_spacecase('HelloWorld') == \
8+
assert case_conversions.camel_case_to_space_case('HelloWorld') == \
99
'Hello world'
1010
assert case_conversions.camel_case_to_lower_case('HelloWorld') == \
1111
'hello_world'

source_py3/python_toolbox/string_tools/case_conversions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import re
88

99

10-
def camelcase_to_spacecase(s):
10+
def camel_case_to_space_case(s):
1111
'''
1212
Convert a string from camelcase to spacecase.
1313

source_py3/test_python_toolbox/test_string_tools/test_case_conversions.py

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

66

77
def test():
8-
assert case_conversions.camelcase_to_spacecase('HelloWorld') == \
8+
assert case_conversions.camel_case_to_space_case('HelloWorld') == \
99
'Hello world'
1010
assert case_conversions.camel_case_to_lower_case('HelloWorld') == \
1111
'hello_world'

0 commit comments

Comments
 (0)