Skip to main content
added 28 characters in body
Source Link
J_H
  • 43.3k
  • 3
  • 38
  • 158

Is an int an instance of a float? No. Python can represent vastly more integers than a mere 64-bit float could ever hope to do. Nonetheless, to be readable and concise, please tag them as float.

Is an int an instance of a float? No. Python can represent vastly more integers than a mere 64-bit float could ever hope to do. Nonetheless, please tag them as float.

Is an int an instance of a float? No. Python can represent vastly more integers than a mere 64-bit float could ever hope to do. Nonetheless, to be readable and concise, please tag them as float.

added 1 character in body
Source Link
J_H
  • 43.3k
  • 3
  • 38
  • 158

I am skeptical that accepting str pathnames is a boon to a calling app developersdeveloper. Insist on Path and be done with it. This applies to several public methods.

I am skeptical that accepting str pathnames is a boon to calling app developers. Insist on Path and be done with it. This applies to several public methods.

I am skeptical that accepting str pathnames is a boon to a calling app developer. Insist on Path and be done with it. This applies to several public methods.

added 6 characters in body
Source Link
J_H
  • 43.3k
  • 3
  • 38
  • 158

comments lie!unhelpful docstring

Is an int an instance of a float? No. Python can represent vastly more integers than a mere 64-bit float could ever hope to do. Nonetheless, please tag them as float.

comments lie!

Is an int an instance of a float? No. Python can represent vastly more integers than a mere 64-bit float could ever hope to do.

unhelpful docstring

Is an int an instance of a float? No. Python can represent vastly more integers than a mere 64-bit float could ever hope to do. Nonetheless, please tag them as float.

Source Link
J_H
  • 43.3k
  • 3
  • 38
  • 158
Loading