python-stack-data-help-0.6.2-1.oe24090>    f ;G|`u` ő J-.[|JR.b.h{$cj!^tN/ ']*doW#IOG,*Ib+M~ЗHfй |8SG( ܢaC4GW5iؗJD,Bq4+{4idBhŦ"#S0}nOsjYɥnY5go>2 6zD1\ 2}34k-j*jaK[ (cY[`|oZjJ"<(7u-DˡO2bЅPu .dEVeL r0k9pԣdV$ɾwSu2Ȁ$ *P࢟-쬇sYaIuWN296ae95440dc5beec6e2fbfc67409a56e3a8a6795de3a09fc97472fbafd2379ff83a273e6766148ddc4c0f339f98ada6262c52965 I)vu=>r#ɆW>:?d ( Z  5;DH J L P Q TX]b3(O8X9\:FGHIXY\]^bdeflt u$v(z2DHNCpython-stack-data-help0.6.21.oe2409Development documents and examples for stack-data 6 | for i in range(5): 7 | row = [] 8 | result.append(row) --> 9 | print_stack() 10 | for j in range(5): ``` The code for `print_stack()` is fairly self-explanatory. If you want to learn more details about a particular class or method I suggest looking through some docstrings. `FrameInfo` is a class that accepts either a frame or a traceback object and provides a bunch of nice attributes and properties (which are cached so you don't need to worry about performance). In particular `frame_info.lines` is a list of `Line` objects. `line.render()` returns the source code of that line suitable for display. Without any arguments it simply strips any common leading indentation. Later on we'll see a more powerful use for it. You can see that `frame_info.lines` includes some lines of surrounding context. By default it includes 3 pieces of context before the main line and 1 piece after. We can configure the amount of context by passing options: ```python options = stack_data.Options(before=1, after=0) frame_info = stack_data.FrameInfo(frame, options) ``` Then the output looks like: ```fdc-64g.compass-ciMIThttp://openeuler.orgUnspecifiedhttp://github.com/alexmojaki/stack_datalinuxnoarchAfrootrootpython-stack-data-0.6.2-1.oe2409.src.rpmpython-stack-data-helppython3-stack-data-doc    rpmlib(CompressedFileNames)rpmlib(FileDigests)rpmlib(PayloadFilesHavePrefix)rpmlib(PayloadIsXz)3.0.4-14.6.0-14.0-15.2-14.18.2df@Python_Bot - 0.6.2-1- Package Spec generateddc-64g.compass-ci 17269321560.6.2-1.oe2409python-stack-data/usr/share/doc/-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protectioncpioxz2noarch-openEuler-linux-gnudirectory@0xd*?-ߝutf-8bf8e73c2bd2c0adf2bc7f2441c5fba264545d25a265e40bdfdf3ab125c591239a91c8864ff1c47d4cf0952de6a1c96e1fe3addeb839480735fd8749e7cfb3e88?`7zXZ !#, [] b2u jӫ`(y0m g_#[6dHTMd smP֬#|_Q؄Qz(so dG Rj:냔s_t|>ص YZ