[Tutor] Correct style of line break when chaining methods

Manprit Singh manpritsinghece at gmail.com
Sat Jul 10 12:32:57 EDT 2021


Dear boB stepp, Mats Wichmann & Mark Lawrence

Thanks for your comments and  help ..... today i really appreciate the
members  like you in this group .

Thanks and regards

Manprit Singh

On Sat, Jul 10, 2021 at 9:50 PM boB Stepp <robertvstepp at gmail.com> wrote:

> On Sat, Jul 10, 2021 at 11:03 AM Manprit Singh
> <manpritsinghece at gmail.com> wrote:
> >
> > Dear sir,
> >
> > See in this particular example, the length of the line is 75 characters ,
> > and according to PEP 8, in Python a line must not exceed 69 characters.
>
> Are you sure you did not misread the max recommended line length?
>
> https://www.python.org/dev/peps/pep-0008/#id19 says:
>
> <quote>
> Maximum Line Length
>
> Limit all lines to a maximum of 79 characters.
> </quote>
>
> There are some qualifications later for comments and docstrings, but
> these don't apply to your example.
>
> boB Stepp
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list