(self, _meth=meth)
| 170 | """Decorator to skip if single-phase init modules are not supported.""" |
| 171 | if not isinstance(meth, type): |
| 172 | def meth(self, _meth=meth): |
| 173 | try: |
| 174 | return _meth(self) |
| 175 | finally: |
| 176 | restore__testsinglephase() |
| 177 | meth = cpython_only(meth) |
| 178 | msg = "gh-117694: free-threaded build does not currently support single-phase init modules in sub-interpreters" |
| 179 | meth = requires_gil_enabled(msg)(meth) |
searching dependent graphs…