Issue #27891: Tweak new idlelib README entry.

This commit is contained in:
Terry Jan Reedy 2016-08-31 19:37:28 -04:00
parent 112835cb3e
commit 83a1045200
1 changed files with 2 additions and 2 deletions

View File

@ -242,8 +242,8 @@ Sort 'from idlelib import mod1' and 'from idlelib.mod2 import object'
together by module, ignoring within module objects.
Put 'import __main__' after other idlelib imports.
Imports only needed for testing are not at the top but are put in the
htest function def or the "if __name__ == '__main__'" clause.
Imports only needed for testing are put not at the top but in an
htest function def or "if __name__ == '__main__'" clause.
Within module imports like "from idlelib.mod import class" may cause
circular imports to deadlock. Even without this, circular imports may