|
GnuCash c935c2f+
|
Add str methods to financial objects so that. More...
Go to the source code of this file.
Data Structures | |
| class | str_methods.ClassWithCutting__format__ |
Functions | |
| str_methods.setflag (self, name, value) | |
| str_methods.getflag (self, name) | |
| str_methods.register_optionflag (self, name) | |
| str_methods.ya_add_method (_class, function, method_name=None, clsmethod=False, noinstance=False) | |
| str_methods.infect (_class, function, method_name) | |
| str_methods.all_as_classwithcutting__format__ (*args) | |
| str_methods.all_as_classwithcutting__format__keys (encoding=None, error=None, **keys) | |
| str_methods.__split__str__ (self, encoding=None, error=None) | |
| str_methods.__transaction__str__ (self) | |
| str_methods.__invoice__str__ (self) | |
| str_methods.__entry__str__ (self) | |
Variables | |
| str | str_methods.DEFAULT_ENCODING = "UTF-8" |
| str | str_methods.DEFAULT_ERROR = "ignore" |
| str_methods.OPTIONFLAGS_BY_NAME | |
Add str methods to financial objects so that.
leads to human readable results
Definition in file str_methods.py.
| str_methods.__entry__str__ | ( | self | ) |
__str__ method for Entry
Definition at line 324 of file str_methods.py.
| str_methods.__invoice__str__ | ( | self | ) |
__str__ method for Invoice
Definition at line 284 of file str_methods.py.
| str_methods.__split__str__ | ( | self, | |
encoding = None, |
|||
error = None |
|||
| ) |
__str__(self, encoding=None, error=None) -> object Serialize the Split object and return as a new Unicode object. Keyword arguments: encoding -- defaults to str_methods.default_encoding error -- defaults to str_methods.default_error See help(unicode) for more details or http://docs.python.org/howto/unicode.html.
Definition at line 199 of file str_methods.py.
| str_methods.__transaction__str__ | ( | self | ) |
__str__ method for Transaction class
Definition at line 253 of file str_methods.py.
| str_methods.all_as_classwithcutting__format__ | ( | * | args | ) |
Converts every argument to instance of ClassWithCutting__format__
Definition at line 168 of file str_methods.py.
| str_methods.all_as_classwithcutting__format__keys | ( | encoding = None, |
|
error = None, |
|||
| ** | keys | ||
| ) |
Converts every argument to instance of ClassWithCutting__format__
Definition at line 180 of file str_methods.py.
| str_methods.getflag | ( | self, | |
| name | |||
| ) |
Definition at line 48 of file str_methods.py.
| str_methods.infect | ( | _class, | |
| function, | |||
| method_name | |||
| ) |
Definition at line 76 of file str_methods.py.
| str_methods.register_optionflag | ( | self, | |
| name | |||
| ) |
Taken from doctest.py
Definition at line 53 of file str_methods.py.
| str_methods.setflag | ( | self, | |
| name, | |||
| value | |||
| ) |
Definition at line 40 of file str_methods.py.
| str_methods.ya_add_method | ( | _class, | |
| function, | |||
method_name = None, |
|||
clsmethod = False, |
|||
noinstance = False |
|||
| ) |
Calls add_method from function_methods.py but makes it possible to use functions in this module. Also keeps the docstring
Definition at line 58 of file str_methods.py.
| str str_methods.DEFAULT_ENCODING = "UTF-8" |
Definition at line 37 of file str_methods.py.
| str str_methods.DEFAULT_ERROR = "ignore" |
Definition at line 38 of file str_methods.py.
| str_methods.OPTIONFLAGS_BY_NAME |
Definition at line 41 of file str_methods.py.