Author: dsahlberg
Date: Mon Oct 2 20:08:24 2023
New Revision: 1912697
URL: http://svn.apache.org/viewvc?rev=1912697&view=rev
Log:
Change "call back (function)" to "callback (function)" in docstrings and
comments (except when used as a verb).
No functional change.
* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c,
subversion/bindings/swig/python/tests/wc.py
(multiple functions): As above
Modified:
subversion/trunk/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
subversion/trunk/subversion/bindings/swig/python/tests/wc.py
Modified:
subversion/trunk/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c?rev=1912697&r1=1912696&r2=1912697&view=diff
==============================================================================
---
subversion/trunk/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
(original)
+++
subversion/trunk/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
Mon Oct 2 20:08:24 2023
@@ -3194,7 +3194,7 @@ void svn_swig_py_notify_func(void *baton
svn_swig_py_acquire_py_lock();
/* As caller can't understand Python context and we can't notify if
- Python call back function raise exception to caller, we must catch it
+ Python callback function raise exception to caller, we must catch it
if it is occurred, and restore error indicator */
PyErr_Fetch(&exc_type, &exc, &exc_traceback);
@@ -3244,7 +3244,7 @@ void svn_swig_py_notify_func2(void *bato
svn_swig_py_acquire_py_lock();
/* As caller can't understand Python context and we can't notify if
- Python call back function raise exception to caller, we must catch it
+ Python callback function raise exception to caller, we must catch it
if it is occurred, and restore error indicator */
PyErr_Fetch(&exc_type, &exc, &exc_traceback);
@@ -3287,7 +3287,7 @@ void svn_swig_py_status_func(void *baton
svn_swig_py_acquire_py_lock();
/* As caller can't understand Python context and we can't notify if
- Python call back function raise exception to caller, we must catch it
+ Python callback function raise exception to caller, we must catch it
if it is occurred, and restore error indicator */
PyErr_Fetch(&exc_type, &exc, &exc_traceback);
@@ -3436,7 +3436,7 @@ void svn_swig_py_status_func2(void *bato
svn_swig_py_acquire_py_lock();
/* As caller can't understand Python context and we can't notify if
- Python call back function raise exception to caller, we must catch it
+ Python callback function raise exception to caller, we must catch it
if it is occurred, and restore error indicator */
PyErr_Fetch(&exc_type, &exc, &exc_traceback);
@@ -4721,7 +4721,7 @@ ra_callbacks_progress_func(apr_off_t pro
svn_swig_py_acquire_py_lock();
/* As caller can't understand Python context and we can't notify if
- Python call back function raise exception to caller, we must catch it
+ Python callback function raise exception to caller, we must catch it
if it is occurred, and restore error indicator */
PyErr_Fetch(&exc_type, &exc, &exc_traceback);
@@ -5632,7 +5632,7 @@ svn_swig_py_config_enumerator2(const cha
svn_swig_py_acquire_py_lock();
/* As caller can't understand Python context and we can't notify if
- Python call back function raise exception to caller, we must catch it
+ Python callback function raise exception to caller, we must catch it
if it is occurred, and restore error indicator */
PyErr_Fetch(&exc_type, &exc, &exc_traceback);
@@ -5690,7 +5690,7 @@ svn_swig_py_config_section_enumerator2(c
svn_swig_py_acquire_py_lock();
/* As caller can't understand Python context and we can't notify if
- Python call back function raise exception to caller, we must catch it
+ Python callback function raise exception to caller, we must catch it
if it is occurred, and restore error indicator */
PyErr_Fetch(&exc_type, &exc, &exc_traceback);
Modified: subversion/trunk/subversion/bindings/swig/python/tests/wc.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/tests/wc.py?rev=1912697&r1=1912696&r2=1912697&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/python/tests/wc.py (original)
+++ subversion/trunk/subversion/bindings/swig/python/tests/wc.py Mon Oct 2
20:08:24 2023
@@ -180,9 +180,9 @@ class SubversionWorkingCopyTestCase(unit
self.assertTrue(target.startswith(self.path))
def test_status_editor_callback_exception(self):
- """test case for status_editor call back not to be crashed by Python
exception"""
+ """test case for status_editor callback not to be crashed by Python
exception"""
def status_func(target, status):
- # Note: exception with in this call back doesn't propagate to
+ # Note: exception with in this callback doesn't propagate to
# the caller
raise AssertionError('intentional exception')