diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/pdb.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index 21c6ca8..5988477 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -513,7 +513,7 @@ can be overridden by the local file. :file:`.pdbrc` file):: # Print instance variables (usage "pi classInst") - alias pi for k in %1.__dict__.keys(): print("%1.",k,"=",%1.__dict__[k]) + alias pi for k in %1.__dict__.keys(): print(f"%1.{k} = {%1.__dict__[k]}") # Print instance variables in self alias ps pi self |