r""" Search for standard in built-in list. For more detailed description see docstring for ``find_standard`` function
(self, standard, key=None)
| 813 | return standard_ref |
| 814 | |
| 815 | def _find_standard_built_in(self, standard, key=None): |
| 816 | r""" |
| 817 | Search for standard in built-in list. For more detailed description |
| 818 | see docstring for ``find_standard`` function |
| 819 | """ |
| 820 | |
| 821 | standard_ref = None |
| 822 | if self.standards_built_in: |
| 823 | for st in self.standards_built_in: |
| 824 | if (st == standard) if (key is None) else (st[key] == standard): |
| 825 | standard_ref = st |
| 826 | break |
| 827 | return standard_ref |
| 828 | |
| 829 | def find_standard(self, standard, key=None): |
| 830 | r""" |
no outgoing calls