Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Get rid of deprecated ascardlist() references in the docs

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@1851 ed100bfc-0583-0410-97f2-c26b58777a21
  • Loading branch information...
commit d2c46f63601e7e8547f93f0be6061e895c2a6a15 1 parent cb64367
@embray authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/source/users_guide/users_unfamiliar.rst
View
4 docs/source/users_guide/users_unfamiliar.rst
@@ -158,7 +158,7 @@ is regular and the other variable length array.
>>> tbhdu.writeto('var_table.fits')
>>> hdu = pyfits.open('var_table.fits')
# Note that heap info is taken care of (PCOUNT) when written to FITS file.
- >>> print hdu[1].header.ascardlist()
+ >>> hdu[1].header
XTENSION= 'BINTABLE' / binary table extension
BITPIX = 8 / array data type
NAXIS = 2 / number of array dimensions
@@ -343,7 +343,7 @@ to create the HDU itself:
# Now, create the GroupsHDU and write to a FITS file.
>>> hdu = pyfits.GroupsHDU(x)
>>> hdu.writeto('test_group.fits')
- >>> print hdu.header.ascardlist()[:]
+ >>> hdu.header
SIMPLE = T / conforms to FITS standard
BITPIX = -32 / array data type
NAXIS = 5 / number of array dimensions
Please sign in to comment.
Something went wrong with that request. Please try again.