Commit 49dbe030 authored by Cyril Guilloud's avatar Cyril Guilloud
Browse files

return is not really a valid name...

parent ba63bf00
Pipeline #14537 passed with stages
in 41 minutes and 11 seconds
......@@ -150,13 +150,17 @@ BLISS [4]: [a]
Example:
```python
def __info__(self):
"""Standard function called by BLISS Shell typing helper to get info
about objects.
"""
try:
return = self.info()
except:
log_error(self, "An error happend during execution of __info__(), use .info() to get it.")
"""Standard method called by BLISS Shell info helper."""
try:
info_string = self.info(menu=False)
except Exception:
log_error(
self,
"An error happend during execution of __info__(), use .info() to get it.",
)
return info_string
```
The equivalent of `repr(obj)` or `str(obj)` is also availabe in
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment